- missing help option in `docs/reference/commandline/*.md` (some files
have it, the other I fixed didn't)
- missing `[OPTIONS]` in Usage description
- missing options
- formatting
- start/stop idempotence
Signed-off-by: Antonio Murdaca <amurdaca@redhat.com>
Upstream-commit: cbd33a2b27
Component: cli
24 lines
548 B
Markdown
24 lines
548 B
Markdown
<!--[metadata]>
|
|
+++
|
|
title = "stop"
|
|
description = "The stop command description and usage"
|
|
keywords = ["stop, SIGKILL, SIGTERM"]
|
|
[menu.main]
|
|
parent = "smn_cli"
|
|
weight=1
|
|
+++
|
|
<![end-metadata]-->
|
|
|
|
# stop
|
|
|
|
Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]
|
|
|
|
Stop a container by sending SIGTERM and then SIGKILL after a
|
|
grace period
|
|
|
|
--help=false Print usage
|
|
-t, --time=10 Seconds to wait for stop before killing it
|
|
|
|
The main process inside the container will receive `SIGTERM`, and after a grace
|
|
period, `SIGKILL`.
|