Author: Jason De Paola
Date: April 18, 2024
Audience: Everyone
Environmental details: Self-hosted
Summary:
Docker commands (e.g., docker ps) result in errors like below:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Solution:
This usually is due to the command being run as 'root user' or the user not having permissions on /var/run/docker.sock
Try running the command as "sudo" and using the account docker was installed with.
Additional Documentation
See the Docker community guide here, which discusses this topic.
Related to
Comments
0 comments
Please sign in to leave a comment.