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 […]
Tag: docker
Docker image-is-being-used-by-stopped-container
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 […]
Docker delete all images
In this article, we will discuss how to remove the docker images which are either active, not active, untagged, tagged with child images and etc. The below command will delete the images which are in either in-active state or un-tagged state but can not delete the images which are inactive and tagged with child […]
Most Important kubernetes Commands
Most Important kubernetes Commands Here I am sharing most import and frequently using kubernetes commands in every day while working with kubernetes. Cloud providers(Google, AWS, Azure, Oracle etc..) are providing kubernetes services. Here we can use name space either in short name or full name like follows. And namespace no need to mention if we […]
Azure AKS unauthorized: authentication required
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
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 […]