Add a --signal option to the kill command to specify a signal.

Docker-DCO-1.1-Signed-off-by: Paul Lietar <paul@lietar.net> (github: plietar)
master
Paul Lietar 2014-01-22 04:42:36 +00:00 committed by Tibor Vass
parent f0d44c8bc1
commit 9a20d94d97
1 changed files with 5 additions and 3 deletions

View File

@ -754,11 +754,13 @@ we ask for the ``HostPort`` field to get the public address.
::
Usage: docker kill CONTAINER [CONTAINER...]
Usage: docker kill [OPTIONS] CONTAINER [CONTAINER...]
Kill a running container (Send SIGKILL)
Kill a running container (send SIGKILL, or specified signal)
The main process inside the container will be sent SIGKILL.
-s, --signal="KILL": Signal to send to the container
The main process inside the container will be sent SIGKILL, or any signal specified with option ``--signal``.
Known Issues (kill)
~~~~~~~~~~~~~~~~~~~