Open edysli opened 5 years ago
Thanks for your suggestion, I will go through the articles, then we will see what to implement.
The image you are using as a base richarvey/nginx-php-fpm
uses supervisord to run nginx, so you can reuse it for free for your processes. :smiley:
The startup script
samlidp-start.sh
defined asCMD
in theDockerfile
starts several processes (I spotted rsyslogd and nginx) but neither propagates signals to them nor handles eventual zombie processes these may create. The solution to this is to use a lightweight init program as PID 1 in your container to start other processes.See Docker - init, zombies - why does it matter? and Docker and the PID 1 zombie reaping problem for a detailed explanation of the problem.