Skip to content
Snippets Groups Projects
Unverified Commit 53e16226 authored by capossele's avatar capossele
Browse files

:recycle: Increase docker shutdown timeout

parent bb87dc5e
No related branches found
No related tags found
No related merge requests found
......@@ -214,7 +214,7 @@ func (d *DockerContainer) Remove() error {
// Stop stops a container without terminating the process.
// The process is blocked until the container stops or the timeout expires.
func (d *DockerContainer) Stop() error {
duration := 30 * time.Second
duration := 3 * time.Minute
return d.client.ContainerStop(context.Background(), d.id, &duration)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment