docker kill --signal option with example (#22166)
* docker kill --signal option with example * Fixed typos
This commit is contained in:
@ -24,5 +24,12 @@ To kill more than one container, container names or IDs must be added with a whi
|
||||
docker kill mycontainer mysecondcontainer mythirdcontainer
|
||||
```
|
||||
|
||||
You can specify which signal is emitted to the container using the `--signal` (or `-s`) option. For example, you can reload your `nginx` container configuration using:
|
||||
|
||||
```
|
||||
docker kill -s HUP container_name
|
||||
```
|
||||
|
||||
|
||||
#### More Information:
|
||||
- [Docker CLI docs: kill](https://docs.docker.com/engine/reference/commandline/kill/)
|
||||
|
Reference in New Issue
Block a user