It’s pruned down to a very small size. Occupies only a couple mb on disk. By default leaves out a bunch of features that are unnecessary for a container base image.
You could then theoretically just use something as Void Linux with GlibC, or Gentoo with GlibC, or something like that. Even a minimal Arch Linux image.
Nothing theoretical about this, I’ve just stopped making images with alpine, 200MB of storage won’t change anything (can be optimized really) and a lot less weird problems.
Docker took off because Ubuntu can’t run current software. Now you need multiple copies of an up to date Linux visualized just to keep it interacting with old software on a base system we insist we need.
If all your docker images prove that an up to date Linux can run, then why not just make the main system up to date and you won’t need docker as much.
… virtual environments?
Docker
ok sure. but FYI, venv is basically the same thing if it’s python based.
Yeah, venvs are the answer to “why is that folder 8gb?”
Containers are the answer to “why is my hard drive completely full”
Hold up, are people just out there not using Alpine for a container base image?
Most of them use bigger images as Debian or even Ubuntu. Eww
meh, someone probably forgot to nuke old images
Thank you for mentioning this! In thought I was the worlds only moron who filled 1tb with stale docker images.
And that kids, is when I learned about
prune - aWhat’s the alpine advantage here?
It’s pruned down to a very small size. Occupies only a couple mb on disk. By default leaves out a bunch of features that are unnecessary for a container base image.
Huh! Good to know, ty
You can get weird problems due to musl when trying to use alpine with software that wasn’t expecting it, what else would you want?
You could then theoretically just use something as Void Linux with GlibC, or Gentoo with GlibC, or something like that. Even a minimal Arch Linux image.
Nothing theoretical about this, I’ve just stopped making images with alpine, 200MB of storage won’t change anything (can be optimized really) and a lot less weird problems.
Yes
What morons!
*Hides 100gb of VM images in /var/lib/libvirt/images/ on his 230gb SSD*
Aw man, I love Lemmy. There’s so many dumb nerds that are the exact same as me!
That’s fine because those vms are configured by and run on nix.
Nope. They are configured on Debian and run on arch btw
Docker took off because Ubuntu can’t run current software. Now you need multiple copies of an up to date Linux visualized just to keep it interacting with old software on a base system we insist we need.
If all your docker images prove that an up to date Linux can run, then why not just make the main system up to date and you won’t need docker as much.