Revert "Disable automatic killing of containers when docker stop fails"
This reverts commit 8b5cf51d600dc4f3611cf063c52cf3448e7b01e5. Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Upstream-commit: d503714285143013d9fa6932ee5775fd155d26d2 Component: engine
This commit is contained in:
@@ -432,7 +432,7 @@ Stop a container
|
||||
|
||||
HTTP/1.1 204 OK
|
||||
|
||||
:query t: number of seconds to wait for the container to stop
|
||||
:query t: number of seconds to wait before killing the container
|
||||
:statuscode 204: no error
|
||||
:statuscode 404: no such container
|
||||
:statuscode 500: server error
|
||||
@@ -457,7 +457,7 @@ Restart a container
|
||||
|
||||
HTTP/1.1 204 OK
|
||||
|
||||
:query t: number of seconds to wait for the container to stop
|
||||
:query t: number of seconds to wait before killing the container
|
||||
:statuscode 204: no error
|
||||
:statuscode 404: no such container
|
||||
:statuscode 500: server error
|
||||
|
||||
@@ -1360,11 +1360,11 @@ This example shows 5 containers that might be set up to test a web application c
|
||||
|
||||
Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]
|
||||
|
||||
Stop a running container (Send SIGTERM)
|
||||
Stop a running container (Send SIGTERM, and then SIGKILL after grace period)
|
||||
|
||||
-t, --time=10: Number of seconds to wait for the container to stop.
|
||||
-t, --time=10: Number of seconds to wait for the container to stop before killing it.
|
||||
|
||||
The main process inside the container will receive SIGTERM.
|
||||
The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL
|
||||
|
||||
.. _cli_tag:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user