• ultorpha@lemmy.nz
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      I’ve never known a reason to expose the docker socket to Nextcloud. It’s certainly not required, I’ve run Nextcloud for years without ever granting it socket access.

      Most of the things on that linked page seem to be for Docker rather than Nextcloud, and relate to non-standard configuration. As someone who is not a political target, I’d be pretty happy that following Nextcloud’s setup guide and hardening guide is enough.

      I also didn’t mention it, but I geoblock access from outside my country as a general rule.

      • jkrtn@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        I was looking into setting up Nextcloud recently and the default directions suggest exposing the socket. That’s crazy. I checked again just now. I see it is still possible to set it up without socket access, but that set of instructions isn’t as prominent.

        I linked to Docker in specific because if Nextcloud has access to the socket, and hackers find some automated exploit, they could easily escalate out of the Docker container. It sounds like you have it more correctly isolated.