Alpine, Slim, Stretch, Buster, Jessie, Bullseye — What are the Differences in Docker Images?

Julie Perilla Garcia
The Startup
Published in
5 min readJul 1, 2020

--

And which one should I choose?

Photo by Héctor J. Rivas on Unsplash

Update: I wrote this article in 2020 and have a learned a lot about Docker Images since then. Read my new article for the most up-to-date information.

If you are like me, the first time you went to create a Dockerfile and had to choose an image from the DockerHub page, you were thoroughly confused. Sometimes choices like this can freeze us up from acting, so maybe we just go with the standard image and avoid looking into it further, so that we can move forward with our project.

But it’s a good idea to understand the differences between the types of Docker images so that you choose the right one for your application or script.

In short, the difference between docker images is the underlying operating system. Here is a summary of each.

And be aware that this decision is not permanent. You can always change the image in your Dockerfile and rebuild your images. Just be sure to test thoroughly before…

--

--

Julie Perilla Garcia
The Startup

Lead Software Engineer and Manager with 25 years Experience 👩🏻‍💻 How to Code Better, Work Better, Live Better 🤖 JavaScript, Python, React