Docker for mac /var/run/docker.sock mount

broken image
broken image

Mar 12 08:11:48 systemd: docker.socket: Failed to resolve group docker: Connection refused Mar 12 08:11:48 systemd: Starting Docker Socket for the API. Loaded: loaded (/lib/systemd/system/docker.socket enabled vendor preset: enabled)Īctive: failed (Result: exit-code) since Fri 08:11:48 PST 8h ago docker.socket - Docker Socket for the API.Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get dial unix /var/run/docker.sock: connect: permission denied the also reports a failure to start $ docker ps This works fine on several hosts, but on some of them rvice won't start because /var/run/docker.sock is still owned by root:root rather than root:ldap-docker. Then I added 'group': 'ldap-docker' to /etc/docker/daemon.json file, and removed the local 'docker' group from the systems. I have an auth server so rather than manually add users to the docker group, so that they can run docker commands, I made a group ldap-docker on the auth server and add my users to that. I am managing several compute hosts running Ubuntu 18.04 (with systemd) and Docker inside a mostly trusted network.