2015-06-08 13:48:20 -04:00
|
|
|
% DOCKER(1) Docker User Manuals
|
|
|
|
% Docker Community
|
|
|
|
% JUNE 2014
|
|
|
|
# NAME
|
2016-09-02 01:06:08 -04:00
|
|
|
docker-restart - Restart one or more containers
|
2015-06-08 13:48:20 -04:00
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
**docker restart**
|
|
|
|
[**--help**]
|
|
|
|
[**-t**|**--time**[=*10*]]
|
|
|
|
CONTAINER [CONTAINER...]
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
Restart each container listed.
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
**--help**
|
|
|
|
Print usage statement
|
|
|
|
|
2015-11-09 20:33:55 -05:00
|
|
|
**-t**, **--time**=*10*
|
2015-06-08 13:48:20 -04:00
|
|
|
Number of seconds to try to stop for before killing the container. Once killed it will then be restarted. Default is 10 seconds.
|
|
|
|
|
|
|
|
# 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>
|