[Solved] Docker Daemon Connection Error: Daemon Running?
If you get the following error when trying to run a Docker container:
Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running?
Then you can resolve it by running the following:
|
|
If this doesn’t work because of a root
user issue, then you can do the following first:
|
|
Additional issues?
Issue 1
If you have tried the above, and get this error:
|
|
Then you can solve it as follows:
Issue 2
You can still can’t get around this, then try and use the docker daemon service itself:
|
|