2016-03-03 08:18:17 +08:00
|
|
|
# NAME
|
|
|
|
runc kill - kill sends the specified signal (default: SIGTERM) to the container's init process
|
|
|
|
|
|
|
|
# SYNOPSIS
|
2016-11-08 07:22:27 +08:00
|
|
|
runc kill [command options] <container-id> <signal>
|
2016-03-03 08:18:17 +08:00
|
|
|
|
|
|
|
Where "<container-id>" is the name for the instance of the container and
|
|
|
|
"<signal>" is the signal to be sent to the init process.
|
|
|
|
|
2016-11-08 07:22:27 +08:00
|
|
|
# OPTIONS
|
|
|
|
--all, -a send the specified signal to all processes inside the container
|
|
|
|
|
2016-03-03 08:18:17 +08:00
|
|
|
# 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
|