Files
runc/man/runc-kill.8.md
Kir Kolyshkin f8ad20f500 runc kill: drop -a option
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>
2023-06-08 09:30:40 -07:00

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