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>
20 lines
533 B
Markdown
20 lines
533 B
Markdown
# docker restart
|
|
|
|
<!---MARKER_GEN_START-->
|
|
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 |
|
|
|
|
|
|
<!---MARKER_GEN_END-->
|
|
|