Restart one or more containers
docker restart [OPTIONS] CONTAINER [CONTAINER...]
Name, shorthand | Default | Description |
---|---|---|
--time, -t |
10 |
Seconds to wait for stop before killing the container |
Command | Description |
---|---|
docker | The base command for the Docker CLI. |
Alias for docker container restart
.