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