DOKK / manpages / debian 10 / runc / runc-kill.8.en
NAME() NAME()

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

runc kill [command options] <container-id> <signal>

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

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

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