How to resolve: Got permission denied while trying to connect to the Docker daemon socket at…: dial unix /var/run/docker.sock: connect: permission denied

After docker installation you can encounter error: 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 Solution…

Continue Reading How to resolve: Got permission denied while trying to connect to the Docker daemon socket at…: dial unix /var/run/docker.sock: connect: permission denied