2014-04-16 14:07:55 -04:00
|
|
|
% DOCKER(1) Docker User Manuals
|
2014-06-30 22:58:04 -04:00
|
|
|
% Docker Community
|
|
|
|
% JUNE 2014
|
2014-04-16 14:07:55 -04:00
|
|
|
# NAME
|
2015-10-03 11:56:41 -04:00
|
|
|
docker-stop - Stop a container by sending SIGTERM and then SIGKILL after a grace period
|
2014-04-16 14:07:55 -04:00
|
|
|
|
|
|
|
# SYNOPSIS
|
2014-06-30 22:58:04 -04:00
|
|
|
**docker stop**
|
2014-10-15 17:14:12 -04:00
|
|
|
[**--help**]
|
2014-06-30 22:58:04 -04:00
|
|
|
[**-t**|**--time**[=*10*]]
|
2014-11-27 23:21:55 -05:00
|
|
|
CONTAINER [CONTAINER...]
|
2014-04-16 14:07:55 -04:00
|
|
|
|
|
|
|
# DESCRIPTION
|
2015-10-03 11:56:41 -04:00
|
|
|
Stop a container (Send SIGTERM, and then SIGKILL after
|
2014-04-16 14:07:55 -04:00
|
|
|
grace period)
|
|
|
|
|
|
|
|
# OPTIONS
|
2014-10-15 17:14:12 -04:00
|
|
|
**--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.
|
2014-04-16 14:07:55 -04:00
|
|
|
|
2015-03-01 01:36:00 -05:00
|
|
|
#See also
|
|
|
|
**docker-start(1)** to restart a stopped container.
|
|
|
|
|
2014-04-16 14:07:55 -04:00
|
|
|
# HISTORY
|
|
|
|
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
2014-07-01 20:30:25 -04:00
|
|
|
based on docker.com source material and internal work.
|
2014-07-02 21:07:42 -04:00
|
|
|
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|