runc-kill - Man Page

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.

Examples

The following will send a KILL signal to the init process of the ubuntu01 container:

# runc kill ubuntu01 KILL

See Also

runc(1).

Referenced By

runc(8), runc-delete(8).