github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/man/docker-restart.1.md (about)

     1  % DOCKER(1) Docker User Manuals
     2  % Docker Community
     3  % JUNE 2014
     4  # NAME
     5  docker-restart - Restart one or more containers
     6  
     7  # SYNOPSIS
     8  **docker restart**
     9  [**--help**]
    10  [**-t**|**--time**[=*10*]]
    11  CONTAINER [CONTAINER...]
    12  
    13  # DESCRIPTION
    14  Restart each container listed.
    15  
    16  # OPTIONS
    17  **--help**
    18    Print usage statement
    19  
    20  **-t**, **--time**=*10*
    21     Number of seconds to try to stop for before killing the container. Once killed it will then be restarted. Default is 10 seconds.
    22  
    23  # HISTORY
    24  April 2014, Originally compiled by William Henry (whenry at redhat dot com)
    25  based on docker.com source material and internal work.
    26  June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>