Dockerfile Images

24 Jul 2015

My work associate Peter Viertel recently gave a lunchtime brownbag on Docker.

A topic that came up - the problems around large Docker base images that are just copies of full Linux installs eg the Ubuntu image that is used in many tutorials. Examples of problems: PID 1 (init) not cleaning up processes correctly, no cron, no logrotate, no syslog, EXEC shells requiring root access to docker daemon.

The phusion/baseimage site has good material on the issues (even if you prefer .rpm over .deb).

Also, Mark van Holsteijn’s article on creating small images based off Docker scratch is good.

comments powered by Disqus

  « Previous: Next: »