Merge pull request #3614 from thaJeztah/signal_options

add --signal option to stop and restart
This commit is contained in:
Sebastiaan van Stijn
2022-05-17 14:31:26 +02:00
committed by GitHub
4 changed files with 22 additions and 16 deletions

View File

@ -12,8 +12,8 @@ Usage: docker restart [OPTIONS] CONTAINER [CONTAINER...]
Restart one or more containers
Options:
--help Print usage
-t, --time int Seconds to wait for stop before killing the container (default 10)
-s, --signal string Signal to send to the container
-t, --time int Seconds to wait before killing the container
```
## Examples

View File

@ -12,8 +12,8 @@ Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]
Stop one or more running containers
Options:
--help Print usage
-t, --time int Seconds to wait for stop before killing it (default 10)
-s, --signal string Signal to send to the container
-t, --time int Seconds to wait before killing the container
```
## Description