My last Docker series last post was about how to start with Docker on GCE. Yet I’m continuing with tests and moving to real-life scenarios. Firstly I wanted to improve my docker base images.
After reading Michael Crosby’s Dockerfile best Practises I’ve rebuild my basic Dockerfile. All my Docker images are trusted nature and you can look inside and even fork them on GitHub (Don’t be shy to comment if you see improvement potential). Let’ me here present some of them.
Docker Java images
Docker generalist image
The above images are targeting the microservices approach, where μ is taken seriously and the docker container tends to have only one function (or Linux process). My generalist image doesn’t follow this paradigm strictly.
debian_openssh_supervisord is a good point to start multi-service docker container. SSH Server is included and supervisord enables simple management of services inside of the container.2
I appreciate your feedback on my Dockerfiles.