• azdleA
    link
    fedilink
    English
    17
    edit-2
    8 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
      link
      fedilink
      English
      -48 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
        link
        fedilink
        English
        138 months ago

        There are many layers involved in preventing escapes from containers.

      • @Sethayy@sh.itjust.works
        link
        fedilink
        English
        28 months 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