• [object Object]@lemmy.ca
    link
    fedilink
    arrow-up
    32
    ·
    2 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”

    • IrateAnteater@sh.itjust.works
      link
      fedilink
      arrow-up
      9
      ·
      2 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
          5
          ·
          2 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
          12
          ·
          2 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
          4
          ·
          2 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
            2
            ·
            1 day 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
              2
              ·
              23 hours 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
                2
                ·
                23 hours 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.

                • esc@piefed.social
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  22 hours ago

                  Not really, per gigabyte price is still very low for both ssds and hdds, and container images are layered, so if you make the containerfiles correctly additional size is minimal and comes to depencies and application itself.

                  • Kangae_Hishiryo@scribe.disroot.org
                    link
                    fedilink
                    arrow-up
                    2
                    ·
                    21 hours ago

                    Say this to, i.e., any Latin American, or Indian, or Southeast-Asian person, and they’ll kill you lmao.

                    Actually, I’m Venezuelan, so I’m Latin American; so, sorry, loads his imaginary gun, it’s nothing personal, just life’s law… Pew pew!

    • Skullgrid@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      2 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*