mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
e6115a6c1c
This re-aligns the docs with what the cmd line now does. Signed-off-by: Doug Davis <dug@us.ibm.com>
22 lines
539 B
Markdown
22 lines
539 B
Markdown
<!--[metadata]>
|
|
+++
|
|
title = "stop"
|
|
description = "The stop command description and usage"
|
|
keywords = ["stop, SIGKILL, SIGTERM"]
|
|
[menu.main]
|
|
parent = "smn_cli"
|
|
+++
|
|
<![end-metadata]-->
|
|
|
|
# stop
|
|
|
|
Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]
|
|
|
|
Stop a container by sending SIGTERM and then SIGKILL after a
|
|
grace period
|
|
|
|
--help 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`.
|