runc-kill man page

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

Synopsis

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.

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