Yeah, venvs are the answer to “why is that folder 8gb?”
Containers are the answer to “why is my hard drive completely full”
They are both the answer to “why is my project not working here where it’s working there” and “why do I need 17 copies of libc in their own little soft jails?”
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.
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.
That’s so stupid.
downloads and runs entire Linux distro just to run a python script without managing dependencies
… 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”
They are both the answer to “why is my project not working here where it’s working there” and “why do I need 17 copies of libc in their own little soft jails?”
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
Hold up, are people just out there not using Alpine for a container base image?
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?
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.
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