mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 15:28:35 +00:00
Disable automatic killing of containers when docker stop fails
Docker-DCO-1.1-Signed-off-by: Brian Goff <cpuguy83@gmail.com> (github: cpuguy83)
This commit is contained in:
@@ -432,7 +432,7 @@ Stop a container
|
||||
|
||||
HTTP/1.1 204 OK
|
||||
|
||||
:query t: number of seconds to wait before killing the container
|
||||
:query t: number of seconds to wait for the container to stop
|
||||
: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 before killing the container
|
||||
:query t: number of seconds to wait for the container to stop
|
||||
:statuscode 204: no error
|
||||
:statuscode 404: no such container
|
||||
:statuscode 500: server error
|
||||
|
||||
@@ -1366,11 +1366,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, and then SIGKILL after grace period)
|
||||
Stop a running container (Send SIGTERM)
|
||||
|
||||
-t, --time=10: Number of seconds to wait for the container to stop before killing it.
|
||||
-t, --time=10: Number of seconds to wait for the container to stop.
|
||||
|
||||
The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL
|
||||
The main process inside the container will receive SIGTERM.
|
||||
|
||||
.. _cli_tag:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user