mirror of https://github.com/docker/cli.git
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)
This commit is contained in:
parent
e12226771d
commit
ea3cd0f065
|
@ -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...]
|
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:
|
.. _cli_tag:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue