2015-06-21 16:41:38 -04: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 11:56:41 -04:00
|
|
|
Stop a container by sending SIGTERM and then SIGKILL after a
|
2015-06-21 16:41:38 -04:00
|
|
|
grace period
|
|
|
|
|
2015-12-23 09:37:06 -05:00
|
|
|
--help Print usage
|
2015-06-21 16:41:38 -04: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 11:56:41 -04:00
|
|
|
period, `SIGKILL`.
|