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
|
|
|
|
docker-restart - Restart a running container
|
|
|
|
|
|
|
|
# SYNOPSIS
|
2014-06-30 22:58:04 -04:00
|
|
|
**docker restart**
|
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
|
|
|
|
Restart each container listed.
|
|
|
|
|
|
|
|
# OPTIONS
|
2014-10-15 17:14:12 -04:00
|
|
|
**--help**
|
|
|
|
Print usage statement
|
|
|
|
|
2014-06-30 22:58:04 -04:00
|
|
|
**-t**, **--time**=10
|
|
|
|
Number of seconds to try to stop for before killing the container. Once killed it will then be restarted. Default is 10 seconds.
|
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>
|