Troubleshooting of docker errors: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 18: Line 18:


* [https://hadolint.github.io/hadolint/ Dockerfile Linter]
* [https://hadolint.github.io/hadolint/ Dockerfile Linter]
== Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?  ==
Error condition: After I inputted the command {{kbd | key = docker ps}}, I met the error message as follows:
<pre>
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
</pre>
Solution:
* On CentOS: {{kbd | key = sudo systemctl start docker}}<ref>[https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-centos-7 How To Install and Use Docker on CentOS 7 | DigitalOcean]</ref>


== Error response from daemon: dial unix docker.raw.sock: connect: connection refused (on Mac) ==
== Error response from daemon: dial unix docker.raw.sock: connect: connection refused (on Mac) ==
Anonymous user

Navigation menu