1
0
mirror of https://github.com/docker/cli.git synced 2026-01-23 15:21:32 +03:00

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
2014-01-22 04:42:36 +00:00
committed by Tibor Vass
parent 8364e5f019
commit 6dcbeea319

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)
~~~~~~~~~~~~~~~~~~~