Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

10
  • 10
    It worked on 16.04
    – edib
    Commented Dec 12, 2017 at 8:22
  • 2
    Much better way imo. The group docker is root-equivalent and that is always a sign of danger. And I don't see any disadvantage to taking ownership of this one file.
    – xeruf
    Commented Mar 3, 2018 at 0:54
  • 11
    @Xerus if I understand correctly, whoever can write to this socket can get root-equivalent privileges too. So giving someone access to this socket via ACL has the same security effect as adding that person to the docker group. Commented Apr 23, 2018 at 15:26
  • 2
    Do the job for me on Ubuntu 20.04 Commented Feb 25, 2021 at 11:51
  • 2
    worked on 22.04 Commented May 11, 2022 at 14:05