home ¦ Archives ¦ Atom ¦ RSS

Docker Containers and Signals

Here be dragons. I know from personal experience but Hynek Schlawack explains why way better than me.

Proper cleanup when terminating your application isn’t less important when it’s running inside of a Docker container. Although it only comes down to making sure signals reach your application and handling them, there’s a bunch of things that can go wrong.

Really, as Hynek says, “Avoid being PID 1.”

© 2008-2024 C. Ross Jam. Built using Pelican. Theme based upon Giulio Fidente’s original svbhack, and slightly modified by crossjam.