4 ms·
> In terms of simplicity, Alpine Linux is unpeered. Alpine is the only Linux distribution that fits in my head. The pieces from which it is built from are simpl
by mschuster91 6y ago
> In terms of simplicity, Alpine Linux is unpeered. Alpine is the only Linux distribution that fits in my head. The pieces from which it is built from are simple, easily understood, and few in number, and I can usually predict how it will behave in production. The software choices, such as musl libc, are highly appreciated in this respect as well, lending a greater degree of simplicity to the system as a whole.
I'd really disagree here. Two choices that Alpine made can be really nasty to debug or work around if you are unaware of using Alpine - especially if you're extending from some Docker image that extends from another Docker image that has Alpine as core:
1. musl libc. It's not binary compatible with libc and many Docker image builders don't bother to ship the libc-compat package which means if you're adding (for example) some Java library that has native parts depending on libc, you'll get weird errors.
2. busybox as default shell instead of a real bash. Way too many external scripts depend on various degrees of bash features.
- thrwaeasddsaf 6y agoSimple doesn't mean "everything you throw at it works ootb." Simple means "not complex." Busybox shell and musl are both less complex than bash and glibc.
- msla 6y agoSimple means "no handholding"; if I have to hold its hand, I have to think about it, which is not simple.
- Tsiklon 6y agoI’m reminded of the KISS principle - which is held in high regard on a number of distros. I would interpret “no handholding” to mean “easy to implement”. As I understand it - Simple, as a term of art, doesn’t often mean easy. Simplicity is elegance in design, though not necessarily elegance in implementation.
- oblio 6y ago> I would interpret “no handholding” to mean “easy to implement”. The implementer, developer, is one person (or a handful of people). As a general rule, since there a lot more users than developers, we should lean towards making lives easier for users. Software is used a lot more than it is written.
- mschuster91 6y ago> Busybox shell and musl are both less complex than bash and glibc. For someone developing new features for these projects, yes. For someone used to classic bash/libc as a user? The other way around, because one has to keep subtle differences in mind.