Update stop.md

Updates the stop.md doc to mention that the stop signal can be changed, either with the Dockerfile or via `docker run --stop-signal`. This is a real gotcha if you're not familiar with this feature and build a container that extends a container that uses `STOPSIGNAL`.

Signed-off-by: Christopher Vermilion <christopher.vermilion@gmail.com>
This commit is contained in:
Chris Vermilion 2021-04-03 17:13:01 -04:00 committed by Christopher Vermilion
parent 59fd6f0270
commit 41d169d211
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@ Options:
## Description
The main process inside the container will receive `SIGTERM`, and after a grace
period, `SIGKILL`.
period, `SIGKILL`. The first signal can be changed with the `STOPSIGNAL`
instruction in the container's Dockerfile, or the `--stop-signal` option to
`docker run`.
## Examples