2015-06-08 13:48:20 -04:00
|
|
|
% DOCKER(1) Docker User Manuals
|
|
|
|
% Docker Community
|
|
|
|
% JUNE 2014
|
|
|
|
# NAME
|
2015-10-03 11:56:41 -04:00
|
|
|
docker-stop - Stop a container by sending SIGTERM and then SIGKILL after a grace period
|
2015-06-08 13:48:20 -04:00
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
**docker stop**
|
|
|
|
[**--help**]
|
|
|
|
[**-t**|**--time**[=*10*]]
|
|
|
|
CONTAINER [CONTAINER...]
|
|
|
|
|
|
|
|
# DESCRIPTION
|
2015-10-03 11:56:41 -04:00
|
|
|
Stop a container (Send SIGTERM, and then SIGKILL after
|
2015-06-08 13:48:20 -04:00
|
|
|
grace period)
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
**--help**
|
|
|
|
Print usage statement
|
|
|
|
|
2015-11-09 20:33:55 -05:00
|
|
|
**-t**, **--time**=*10*
|
2015-08-04 16:51:48 -04:00
|
|
|
Number of seconds to wait for the container to stop before killing it. Default is 10 seconds.
|
2015-06-08 13:48:20 -04:00
|
|
|
|
|
|
|
#See also
|
|
|
|
**docker-start(1)** to restart a stopped container.
|
|
|
|
|
|
|
|
# HISTORY
|
|
|
|
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
|
|
|
based on docker.com source material and internal work.
|
|
|
|
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|