Description of problem: $ ls -al /var/run/docker.sock srw-rw----. 1 root docker 0 Sep 25 14:45 /var/run/docker.sock $ docker pull fedora 2014/09/25 14:48:04 Post http:///var/run/docker.sock/images/create?fromImage=fedora&tag=: dial unix /var/run/docker.sock: permission denied $ sudo docker pull fedora Pulling repository fedora f1515fbc671c: Download complete 22499213da48: Download complete b5751574adac: Download complete 511136ea3c5a: Download complete ff75b0852d47: Download complete Version-Release number of selected component (if applicable): docker-1.2.0-2.fc22 How reproducible: always Steps to Reproduce: 1. install docker 2. use docker Expected results: docker commands should work without need for root Additional info: systemd-216-6.fc22.x86_64
Well I might consider this a good thing. http://www.projectatomic.io/blog/2014/09/granting-rights-to-users-to-use-docker-in-fedora/ I have no idea why this is blowing up? Can you try this in permissive mode?
Dan, sorry about the late reply. I see the same situation in permissive mode too.
I have no idea what this is, unless it is related to the docker.socket unit file.
*** This bug has been marked as a duplicate of bug 1145270 ***
Dan, Correct me if I'm wrong, but don't think this is a duplicate of Bug 1145270. /var/run/docker.sock does seem to be in docker group by default (systemd versions on fedora do have SocketUser and SocketGroup support too), but root is still needed to access docker commands.
Not on my machine. Can you Strace the docker command to see where you are getting permission denied?