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