mirror of
https://github.com/opencontainers/runc.git
synced 2025-09-26 19:41:35 +08:00

As of previous commit, this is implied in a particular scenario. In fact, this is the one and only scenario that justifies the use of -a. Drop the option from the documentation. For backward compatibility, do recognize it, and retain the feature of ignoring the "container is stopped" error when set. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
568 B
568 B
% runc-kill "8"
NAME
runc-kill - send a specified signal to container
SYNOPSIS
runc kill container-id [signal]
DESCRIPTION
By default, runc kill sends SIGTERM to the container's initial process only.
A different signal can be specified either by its name (with or without the SIG prefix), or its numeric value. Use kill(1) with -l option to list available signals.
EXAMPLES
The following will send a KILL signal to the init process of the ubuntu01 container:
# runc kill ubuntu01 KILL
SEE ALSO
runc(1).