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)
Upstream-commit: 9a20d94d97
Component: cli
This commit is contained in:
Paul Lietar
2017-06-02 00:06:20 +00:00
committed by Tibor Vass
parent 8364e5f019
commit 6dcbeea319
@@ -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)
~~~~~~~~~~~~~~~~~~~