STOPSIGNAL

This commit is contained in:
Hynek Schlawack 2017-06-17 10:17:48 +02:00
parent f002ba29d1
commit dc8d7ad23d

View file

@ -36,7 +36,9 @@ job "docs" {
} }
``` ```
Please note that the behavior is subtly different for Docker-based tasks. In The behavior is slightly different for Docker-based tasks. Nomad will run the
this case a `docker stop` command is issued that will send a `SIGTERM` to your `docker stop` command with the specified `kill_timeout`. The signal that `docker
container entry point instead. The `kill_timeout` option is still respected stop` sends to your container entrypoint is configurable using the
though. [`STOPSIGNAL` configuration directive]
(https://docs.docker.com/engine/reference/builder/#stopsignal), however please
note that the default is `SIGTERM`.