• WhyJiffie@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 天前

      like flatpak. when you don’t build all your containers on the same base image and shared layers, then you’ll store lots of slightly different versions of the same libraries and other files, both on disk, and then in memory

      • timbuck2themoon@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 小时前

        I see. I was more thinking in terms of CPU/RAM resources where it’s far cheaper to just run a single process instead of a VM for it, etc.

        • WhyJiffie@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 小时前

          but containerization does not use VMs. containers share the same kernel, but userspace and resources are separated with namespaces. it has a very little overhead