Docker Alpine Images

(Read time is about 1 minutes)

Docker is very cool, and Alpine images make it even better.


Alpine images are very lightweight. They are a little tricky sometimes to get working correctly. But, they definitely make for lighter images.

Does it really matter how big the image is?

If running out of disk space isn't a concern for you, then use what you know then. But at the end of the day, docker is about running a SINGLE process. Do you really need an extra 250 MB, or 1 GB to run your 25 MB process?

Alpine uses MUSL

Yes, it uses a smaller library then glibc. Some applications like MySQL don't work at all with it.

Now's a good time to abandon MySQL and start working with PostgreSQL. Docker images of PostgreSQL Alpine are great.

Alpine Docker Image Issues talks more about Alpine (how, why, pros, and cons).

Running Alpine Linux as a Docker host

Talk about getting the most bang for your buck! Alpine Linux is very small, and once you have Docker installed... WOW!