mirror of
https://github.com/docker/cli.git
synced 2025-11-25 18:03:19 +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>
529 B
529 B
docker stop
Stop one or more running containers
Aliases
docker container stop, docker stop
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 |