I’ve been using docker for several months successfully as a beginner, but today the docker daemon just stopped listening. So i tried various things like rebooting, stopping and starting, manually running dockerd, all to no avail.
What i noticed is that the error message is
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
But when i do a netstat --listening --numeric i see
unix 2 [ ACC ] STREAM LISTENING 27976 /run/docker.sock
I’m wondering is the path variance is the cause of my problems? var vs no var.
Here is ps -ef | grep docker
root 5835 1 0 15:54 ? 00:00:03 /usr/bin/dockerd -H fd:// --containerd=/run/container
I don’t know of anything i did to cause this. I even removed and reinstalled docker based on the docker website, same thing.
Anyone have any ideas how i can fix this?
After the reinstall, this is the info
Debug Mode: false
app: Docker App (Docker Inc., v0.9.1-beta3)
buildx: Docker Buildx (Docker Inc., v0.8.2-docker)
compose: Docker Compose (Docker Inc., v2.5.0)
scan: Docker Scan (Docker Inc., v0.17.0)
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info