• lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    What is rootless bring brought up so much? It’s a container, it’s isolated from the host anyway, what does it matter what user runs inside? And if something breaks into the container they can trash the app in it and the shared volumes anyway, even if they’re not root.

    • azdle@news.idlestate.org
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      11 months ago

      Defense in depth. If something escapes the container it’s limited to only what’s under that user and not the whole system. Having access to the whole system makes it easier for malware to hide/persist itself.

      • lemmyvore@feddit.nl
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 months ago

        Correct me if I’m wrong but containerization is enforced by the kernel, correct? If something escapes you’re pretty much screwed anyway.

        • Atemu@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          There are many layers involved in preventing escapes from containers.