Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. #73

Open
phpmaple opened this issue Aug 6, 2020 · 3 comments
Labels
question Further information is requested

Comments

@phpmaple
Copy link

phpmaple commented Aug 6, 2020

This is believe docker daemon run on local machine, but my docker daemon run in virtualbox and used docker-machine, please read from DOCKER_HOST and connect to docker daemon

@lucor
Copy link
Owner

lucor commented Aug 13, 2020

Depending on the configuration you'd need sudo privileges to run docker. Could you please confirm that the docker post installation step have been performed ?

@lucor lucor added the question Further information is requested label Aug 13, 2020
@phpmaple
Copy link
Author

Depending on the configuration you'd need sudo privileges to run docker. Could you please confirm that the docker post installation step have been performed ?

I installed virtualbox and installed docker used docker-machine, then used docker before docker env

@lucor
Copy link
Owner

lucor commented Aug 26, 2020

If I got correctly this happens inside a linux VM running with docker engine installed and running as daemon.
If so, sometimes this kind of errors could be related to user priviliges. Running command with sudo or following the post installation steps, should solve.

If the above is not your case, could you please share the details: OS, versions and the installation steps to allow issue replication ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants