mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
42a109198c
Document the aspects of --all. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
885 B
885 B
% runc-kill "8"
NAME
runc-kill - send a specified signal to container
SYNOPSIS
runc kill [--all|-a] 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.
OPTIONS
- --all|-a
- Send the signal to all processes inside the container, rather than the container's init only. This option is useful when the container does not have its own PID namespace.
-
When this option is set, no error is returned if the container is stopped or does not exist.
EXAMPLES
The following will send a KILL signal to the init process of the ubuntu01 container:
# runc kill ubuntu01 KILL
SEE ALSO
runc(1).