Why are there a series of technical challenges behind “OMG buy it”>>>
Error while running docker ps -a
> docker ps -a
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.39/containers/json?all=1: dial unix /var/run/docker.sock: connect: permission denied
solution
sudo chmod 666 /var/run/docker.sock
Similar Posts:
- How to Solve Error during connect when installing docker in Windows 10
- Solution for docker under windows:This error may also indicate that the docker daemon is not running.
- [Solved] Failed to start Docker Application Container Engine.
- An error is reported when logging into harbor warehouse with docker login of other hosts
- When Docker installs an Mirror: failed to get default registry endpoint from daemon
- [Solved] kubeadm join 192.168.50.66:6443 –token 0109we.c3a3ofn0y0lmp0w9 –discovery-token-ca-cert-hash sha256:262f5eefdbeba51e6875cba5ed6e34061ad679f8a21f6e295d9fbd5ef05757e4
- [Solved] cannot kill Docker container – permission denied
- [Solved] http: server gave HTTP response to HTTPS client
- [Solved] MySQL Restart Error: Another MySQL daemon already running with the same UNIX socket
- [Ubuntu18.04] Docker Start Error: Got permission denied while trying to connect to the Docker daemon socket