You've already forked runc
mirror of
https://github.com/opencontainers/runc.git
synced 2025-11-02 04:13:26 +03:00
The man-pages are using pre-formatted section to display the options for
all commands. The result on my system never looked correct:
OPTIONS
--bundle value, -b value path to the root [...]
--console-socket value path to an AF_UNIX [...]
The first line was always indented less than the other lines.
This commit makes the option block a pre-formatted block (as intended???) by
using 4 spaces instead of 3 spaces.
In addition the man-pages did not specify their name and section
correctly. This adds something like '% runc-run "8"' to all man-pages to
have correct title 'runc-run(8)' instead of 'NAME()' and it also adds
the section to the title: 'System Manager's Manual'.
This also fixes the use of '>' and '<' at multiple places. The markdown
source files were using "<container-id>" and similar which was (most of
the time) rendered as '""'. On some systems it was rendered correctly.
Signed-off-by: Adrian Reber <areber@redhat.com>
21 lines
600 B
Markdown
21 lines
600 B
Markdown
% runc-kill "8"
|
|
|
|
# NAME
|
|
runc kill - kill sends the specified signal (default: SIGTERM) to the container's init process
|
|
|
|
# SYNOPSIS
|
|
runc kill [command options] `<container-id>` `<signal>`
|
|
|
|
Where "`<container-id>`" is the name for the instance of the container and
|
|
"`<signal>`" is the signal to be sent to the init process.
|
|
|
|
# OPTIONS
|
|
--all, -a send the specified signal to all processes inside the container
|
|
|
|
# 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
|