[Bug 1121977] New: /var/run/docker.sock group is not docker
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1121977
Bug ID: 1121977
Summary: /var/run/docker.sock group is not docker
Product: Fedora
Version: 20
Component: docker-io
Assignee: lsm5(a)fedoraproject.org
Reporter: yajo.sk8(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com, golang(a)lists.fedoraproject.org,
hushan.jia(a)gmail.com, jperrin(a)centos.org,
lsm5(a)fedoraproject.org, mattdm(a)redhat.com,
mgoldman(a)redhat.com, s(a)shk.io, vbatts(a)redhat.com
Description of problem:
A user in docker group cannot use docker.
Version-Release number of selected component (if applicable):
docker-io-1.0.0-6.fc20.x86_64
How reproducible:
After install.
Steps to Reproduce:
1. sudo yum -y install docker-io
2. sudo usermod -aG docker $YOUR_USER
3. Log out and in again.
4. sudo systemctl start docker
5. docker pull fedora
Actual results:
2014/07/22 11:10:02 Post
http:///var/run/docker.sock/images/create?fromImage=fedora&tag=: dial unix
/var/run/docker.sock: permission denied
Expected results:
Should pull the fedora image.
Additional info:
Official docs
(https://docs.docker.com/installation/fedora/#granting-rights-to-users-to-...)
say:
> Adding users to the docker group is not necessary for Docker versions 1.0 and above.
So maybe I am trying to solve a problem in the wrong direction, but:
$ grep SocketGroup /lib/systemd/system/docker.socket
SocketGroup=docker
So, I think Fedora stills wants that. However, socket group is root instead of
docker:
$ ls -l /var/run/docker.sock
srw-rw----. 1 root root 0 jul 22 11:08 /var/run/docker.sock
Workaround:
sudo chgrp docker /var/run/docker.sock
--
You are receiving this mail because:
You are on the CC list for the bug.
9 years, 11 months