Files
runc/man/runc-kill.8.md
T
Kir Kolyshkin 42a109198c runc-kill(8): amend the --all description
Document the aspects of --all.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-04-20 18:00:02 -07:00

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