Today, a colleague asked me some questions concerning docker, and I decided to sum them up in an article, since they might be useful to someone else, too. Docker docs already contain a section Best practices for writing Dockerfiles containing a lot of useful information, but it’s far from complete, in my humble opinion. So here we go: 1 – Carefully look at how your PID 1 handles UNIX...
10 best practices for creating good docker images
1