What special precautions must I make for docker apps running as pid 1? What special precautions must I make for docker apps running as pid 1? docker docker

What special precautions must I make for docker apps running as pid 1?


There is a good discussion here:

  • When the process with pid 1 die for any reason, all other processesare killed with KILL signal
  • When any process having children dies for any reason, its children are reparented to process with PID 1
  • Many signals which have default action of Term do not have one for PID 1.

The relevant part for your question:

you can’t stop process by sending SIGTERM or SIGINT, if process have not installed a signal handler