mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
f8ad20f500
As of previous commit, this is implied in a particular scenario. In fact, this is the one and only scenario that justifies the use of -a. Drop the option from the documentation. For backward compatibility, do recognize it, and retain the feature of ignoring the "container is stopped" error when set. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
28 lines
568 B
Markdown
28 lines
568 B
Markdown
% runc-kill "8"
|
|
|
|
# NAME
|
|
**runc-kill** - send a specified signal to container
|
|
|
|
# SYNOPSIS
|
|
**runc kill** _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.
|
|
|
|
# EXAMPLES
|
|
|
|
The following will send a **KILL** signal to the init process of the
|
|
**ubuntu01** container:
|
|
|
|
# runc kill ubuntu01 KILL
|
|
|
|
# SEE ALSO
|
|
|
|
**runc**(1).
|