docker kill --signal option with example (#22166)

* docker kill --signal option with example

* Fixed typos
This commit is contained in:
Robin
2018-11-19 00:32:53 +01:00
committed by Manish Giri
parent 0666a3f433
commit c78f7b563a

View File

@ -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/)