Files
runc/man/runc-kill.8.md
T
Michael Crosby e58671e530 Add --all flag to kill
This allows a user to send a signal to all the processes in the
container within a single atomic action to avoid new processes being
forked off before the signal can be sent.

This is basically taking functionality that we already use being
`delete` and exposing it ok the `kill` command by adding a flag.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-11-08 09:35:02 -08:00

574 B

NAME

runc kill - kill sends the specified signal (default: SIGTERM) to the container's init process

SYNOPSIS

runc kill [command options]

Where "" is the name for the instance of the container and "" is the signal to be sent to the init process.

OPTIONS

--all, -a send the specified signal to all processes inside the container

EXAMPLE

For example, if the container id is "ubuntu01" the following will send a "KILL" signal to the init process of the "ubuntu01" container:

   # runc kill ubuntu01 KILL