runc-kill - send a specified signal to container
runc kill [
--all|
-a]
container-id [
signal]
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.
-
--all|-a
- Send the signal to all processes inside the container.
The following will send a
KILL signal to the init process of the
ubuntu01 container:
# runc kill ubuntu01 KILL
runc(1).