2017-02-01 00:45:59 +00:00
|
|
|
# NAME
|
|
|
|
runc kill - kill sends the specified signal (default: SIGTERM) to the container's init process
|
|
|
|
|
|
|
|
# SYNOPSIS
|
2017-02-06 20:16:36 +00:00
|
|
|
runc kill [command options] <container-id> <signal>
|
2017-02-01 00:45:59 +00: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.
|
|
|
|
|
2017-02-06 20:16:36 +00:00
|
|
|
# OPTIONS
|
|
|
|
--all, -a send the specified signal to all processes inside the container
|
|
|
|
|
2017-02-01 00:45:59 +00: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
|