mirror of
https://github.com/docker/cli.git
synced 2025-04-20 06:27:49 +03:00
This renames the `--time` flag as used on `docker stop` and `docker restart` to `--timeout`, bringing it in line with other uses for this property, such as `--stop-timeout` on `docker run`. The `--time` option is deprecated and hidden, but will be kept for backward compatibility, as these options existed for a long time. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
533 B
533 B
docker restart
Restart one or more containers
Aliases
docker container restart
, docker restart
Options
Name | Type | Default | Description |
---|---|---|---|
-s , --signal |
string |
Signal to send to the container | |
-t , --timeout |
int |
0 |
Seconds to wait before killing the container |