3 ms·
It's used a lot as a guest os useland and init inside docker deployments, becuase it's very small. This means you can run a lot of docker images in one machine
by thawkins 10y ago
It's used a lot as a guest os useland and init inside docker deployments, becuase it's very small. This means you can run a lot of docker images in one machine if you use alpine inside them, fully loaded alpine docker base is about 8mb.
- moreentropy 10y agoThe thing about docker is that the containers are thin provisioned, you can run as many containers based on 8GB images if you have the spare 8GB for the base image. Still, bloat is to be avoided so Alpine as a base image is a great idea.
- justincormack 10y agoAnd the 8GB for the next version of the base system and so on, base system updates are fairly frequent.
- agumonkey 10y agoWanted to do network lab using VirtualBox VMS. Used archlinux iso images at first but they require 256MB of ram to boot IIRC. I stumbled upon alpine linux. I think I booted some with 64MB only. Enough for DNS and DHCP tutorials.
- technion 10y agoThe thing I've liked about this is that bloat isn't just about size. If you have no reason to interact with the userland tools inside a Docker container, you similarly have no reason to introduce their complexity and attack surface in a container designed to run one service. My current "minimal" installation shows 25 SUID binaries (a large amount of them being systemd related...) and my server services need very few of these.
- cyphar 10y agoIf you're that concerned about bloat, you can use the scratch image to start from a completely empty rootfs.