DEV Community

Discussion on: Dockerizing a Django application

Collapse
 
cbrintnall profile image
Christian Brintnall

After a docker pull and docker image ls:

python 3.6-alpine f3e18b628c1b  5 days ago 79.3MB
python 3.6-slim    73ba0dc9fc6c  3 weeks ago 138MB

It's more what you do with them that matters. We've also noticed in the past that musl has some DNS issues, seen here: https://github.com/nodejs/docker-node/issues/602.

I've always gone with the -slim variations with great success, they are often Debian based.

Collapse
 
luvpreet33 profile image
luvpreet

Yes, turns out alpine is much slower and heavier. You can read more here pythonspeed.com/articles/alpine-do...