Merge pull request #3614 from thaJeztah/signal_options
add --signal option to stop and restart
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user