When attempting to shutdown the OTRS container, it takes the timeout time until the container stops because the SIGTERM signal is not processed by all processes in the container. This causes the docker daemon to perform a forced shutdown after timeout passed, potentially causing a loss of data and other issues.
When attempting to shutdown the OTRS container, it takes the timeout time until the container stops because the
SIGTERM
signal is not processed by all processes in the container. This causes the docker daemon to perform a forced shutdown aftertimeout
passed, potentially causing a loss of data and other issues.Expected: Graceful shoutdown.
How to reproduce:
docker-compose stop
Further reading: https://medium.com/@gchudnov/trapping-signals-in-docker-containers-7a57fdda7d86