2015-06-21 13:41:38 -07:00
|
|
|
<!--[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...]
|
|
|
|
|
2015-10-03 17:56:41 +02:00
|
|
|
Stop a container by sending SIGTERM and then SIGKILL after a
|
2015-06-21 13:41:38 -07:00
|
|
|
grace period
|
|
|
|
|
2015-12-23 06:37:06 -08:00
|
|
|
--help Print usage
|
2015-06-21 13:41:38 -07:00
|
|
|
-t, --time=10 Seconds to wait for stop before killing it
|
|
|
|
|
|
|
|
The main process inside the container will receive `SIGTERM`, and after a grace
|
2015-10-03 17:56:41 +02:00
|
|
|
period, `SIGKILL`.
|