There is no excerpt because this is a protected post.
Month: October 2021
Docker Got permission denied while trying to connect to the Docker daemon socket at unix
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
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 […]