docker

A collection of 2 post

Dockerfile Best Practices

I have been using Docker directly or indirectly for years now. During that time I shot myself in the foot multiple times by not following suggestions and good practices. I have collected tips and practices and separated them into multiple categories. I am calling these categories Dockerfile, images…

Docker Container Exit Codes Explained

It’s one of the most common question that I come across: “Why is my container not running?” Can docker container exit codes help troubleshoot this issue? The first step in answering this question is to identify the exit code for the docker container. The exit code may give a hint as to what happened…