Tag: docker permission

Docker Got permission denied while trying to connect to the Docker daemon socket at unix

docker permission denied

docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.35/containers/create: dial unix /var/run/docker.sock: connect: permission denied. See ‘docker run –help’.   To fix this issue, we have to create a group, assign the user to the group and then give the permissions to /var/run/docker.sock   Add docker group […]

Got permission denied while trying to connect to the Docker daemon socket

docker permission denied

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/images/json: dial unix /var/run/docker.sock: connect: permission denied. docker images The above command giving error like permission denied so we need to update the permission to 666 as per the following.   Solution: Update the permission by executing the following command […]