5 ms·
I switched to debian-slim a while ago and never looked back. The base may be bigger than Alpine, but not significantly after packages and frameworks are loaded.
by ttfkam 4y ago
I switched to debian-slim a while ago and never looked back. The base may be bigger than Alpine, but not significantly after packages and frameworks are loaded.
node:lts-slim is 75MB
node:lts-alpine is 50MB
Yes, 50% larger, but also has glibc for greater compatibility and can even be faster at runtime. I know Python containers tend to be faster on Debian than Alpine. So is 25MB really worth it? Especially when that 25MB is shared between multiple containers?
- MuffinFlavored 4y agoWhat's different between debian:bullseye-slim and debian:bullsye (assuming you are talking about https://hub.docker.com/_/debian https://hub.docker.com/_/debian) let me try to answer/research this question myself to find the answer/go on this journey: takes me to non slim: https://github.com/debuerreotype/docker-debian-artifacts/tree/dist-amd64/bullseye https://github.com/debuerreotype/docker-debian-artifacts/tre... slim: https://github.com/debuerreotype/docker-debian-artifacts/tree/dist-amd64/bullseye/slim https://github.com/debuerreotype/docker-debian-artifacts/tre... https://github.com/debuerreotype/docker-debian-artifacts/blob/dist-amd64/bullseye/slim/rootfs.manifest https://github.com/debuerreotype/docker-debian-artifacts/blo... versus https://github.com/debuerreotype/docker-debian-artifacts/blob/dist-amd64/bullseye/rootfs.manifest https://github.com/debuerreotype/docker-debian-artifacts/blo... two files are identical so at a quick glance i have no clue what is going into rootfs.tar.xz that makes one slim and one not go to google: https://stackoverflow.com/questions/59794891/how-does-debian-differ-from-debian-slim https://stackoverflow.com/questions/59794891/how-does-debian...
- ttfkam 4y agoFrom the hub page regarding -slim: > These tags are an experiment in providing a slimmer base (removing some extra files that are normally not necessary within containers, such as man pages and documentation), and are definitely subject to change.