Tag: docker

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 […]

Docker image-is-being-used-by-stopped-container

docker permission denied

Sometimes we are unable to delete the docker images and error says that Error response from daemon: conflict: unable to delete 1b79f8f1fcc8 (must be forced) – image is being used by stopped container e688f67acedd It means that there are stopped containers and causing the lock so first up all delete the stopped containers and then […]

Azure AKS unauthorized: authentication required

azure

While trying to executing the skaffold command, the docker image created and the same image pushed to the Azure container registry but unable to create POD and getting the following error. error: code = Unknown desc = Error response from daemon: Get https://forgerockcontrainerregistry.azurecr.io/v2/skaffold-example/manifests/sha256:60636cbcbf6fce3d2b7acf90d103e3c3d4907d41f1ed0b1a8861e4fd46e26305: unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information. mBack-off pulling image “forgerockcontrainerregistry.azurecr.io/skaffold-example:v1.14.0-16-g10275c66a@sha256:60636cbcbf6fce3d2b7acf90d103e3c3d4907d41f1ed0b1a8861e4fd46e26305″←[0m […]

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 […]