Reputation: 1434
Problem : I was trying to set up Docker on my Mac M1, docker engine was somehow keep running (it was in kind of hung state). When I tried running docker ps command, I used to get the error "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
Upvotes: 4
Views: 5218
Reputation: 1434
Solution: In Docker Desktop go to settings and try these two steps:-
Doing this helped me to fix the issue.
Upvotes: 3