3 ms·
why is using alpine for containers a recipe for trouble?
by nortonham 3y ago
why is using alpine for containers a recipe for trouble?
- still_grokking 3y agoTL;DR: It's slow and has all kinds of issues. If all you want is small containers use Distroless. Musl is still a kind of experiment. I would not recommend running experiments in production… Just a few random links: https://nickjanetakis.com/blog/benchmarking-debian-vs-alpine-as-a-base-docker-image https://nickjanetakis.com/blog/benchmarking-debian-vs-alpine... https://news.ycombinator.com/item?id=28312433 https://news.ycombinator.com/item?id=28312433 https://www.linkedin.com/pulse/musl-libc-alpines-greatest-weakness-rogan-lynch https://www.linkedin.com/pulse/musl-libc-alpines-greatest-we... https://martinheinz.dev/blog/92 https://martinheinz.dev/blog/92 https://www.linuxquestions.org/questions/linux-software-2/musl-related-issues-on-void-linux-4175720256/ https://www.linuxquestions.org/questions/linux-software-2/mu... https://unix.stackexchange.com/questions/729342/performance-issue-with-alpine-musl-library https://unix.stackexchange.com/questions/729342/performance-... https://github.com/rust-lang/rust/issues/70108 https://github.com/rust-lang/rust/issues/70108 https://news.ycombinator.com/item?id=23080290 https://news.ycombinator.com/item?id=23080290 https://vector.dev/highlights/2020-07-09-add-musl-and-glibc-support-to-install-sh/ https://vector.dev/highlights/2020-07-09-add-musl-and-glibc-... There are more. Much more of those! Musl exist in large parts just for ideological reasons. It still rides some hype in industry as industry hates GPL software…
- nortonham 3y agoThanks for the links. I'm just an hobbyist, but Alpine is often marketed as being great for containers. Interesting to see another perspective