• [object Object]@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        10 days ago

        Yeah, venvs are the answer to “why is that folder 8gb?”

        Containers are the answer to “why is my hard drive completely full”

        • corsicanguppy@lemmy.ca
          link
          fedilink
          English
          arrow-up
          0
          ·
          7 days ago

          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?”

        • IrateAnteater@sh.itjust.works
          link
          fedilink
          arrow-up
          0
          ·
          10 days ago

          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?

            • afk_strats@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              ·
              10 days ago

              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 - a

            • IrateAnteater@sh.itjust.works
              link
              fedilink
              arrow-up
              0
              ·
              10 days ago

              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.

            • esc@piefed.social
              link
              fedilink
              English
              arrow-up
              0
              ·
              10 days ago

              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?

              • Kangae_Hishiryo@scribe.disroot.org
                link
                fedilink
                arrow-up
                0
                ·
                9 days ago

                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.

                • esc@piefed.social
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  9 days ago

                  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.

                  • Kangae_Hishiryo@scribe.disroot.org
                    link
                    fedilink
                    arrow-up
                    0
                    ·
                    9 days ago

                    It will change everything if you don’t have a big (in capacity, not in physical size, lol) disk. Even worse with the current crisis on hardware prices.

        • Skullgrid@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          10 days ago

          Containers are the answer to “why is my hard drive completely full”

          What morons!

          *Hides 100gb of VM images in /var/lib/libvirt/images/ on his 230gb SSD*