• azdle
    link
    fedilink
    English
    17
    edit-2
    1 year 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
      link
      fedilink
      English
      -41 year 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
        link
        fedilink
        English
        131 year ago

        There are many layers involved in preventing escapes from containers.

      • @Sethayy@sh.itjust.works
        link
        fedilink
        English
        21 year ago

        Way too dependent on the setup, a container with absolutely no outside access theoretically just has the kernel, but usually we want to communicate with our docker images not just run them