github.com/AliyunContainerService/cli@v0.0.0-20181009023821-814ced4b30d0/docs/reference/commandline/restart.md (about) 1 --- 2 title: "restart" 3 description: "The restart command description and usage" 4 keywords: "restart, container, Docker" 5 --- 6 7 <!-- This file is maintained within the docker/cli GitHub 8 repository at https://github.com/docker/cli/. Make all 9 pull requests against that repo. If you see this file in 10 another repository, consider it read-only there, as it will 11 periodically be overwritten by the definitive file. Pull 12 requests which include edits to this file in other repositories 13 will be rejected. 14 --> 15 16 # restart 17 18 ```markdown 19 Usage: docker restart [OPTIONS] CONTAINER [CONTAINER...] 20 21 Restart one or more containers 22 23 Options: 24 --help Print usage 25 -t, --time int Seconds to wait for stop before killing the container (default 10) 26 ``` 27 28 ## Examples 29 30 ```bash 31 $ docker restart my_container 32 ```