-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot connect to the Docker daemon. Is the docker daemon running on this host? #47
Comments
To follow up on this, installing on a different Mac that hasn't had Docker for Mac installed before works correctly. So seems to be an update problem? |
Hi, I have this issue as well. I found out that the symlink to the To find out if your
The link is to a file under The hack around this is to recreate the symlink to where it should live: To verify do:
And as you can see the It seems that this has to be done every time you start/restart Docker on the computer. |
Same problem, just installed Docker for Mac, never had Docker on the machine before. I used the stable .dmg from the official site and haven't changed any settings -- so, pretty much a vanilla setup that should just work. |
Same issue here, but my symlink is linked to The problem was found after I installed the Xcode Server. |
Me too. Same problem, enabling Xcode Server (Xcode server was configured but disabled before Docker installation) changed the symlink of the socket to: |
I've created a patch to improve the way we compute the symlink directory, which will hopefully fix this issue. Unfortunately it's too late for beta 25 but it should be in beta 26. I'll let you know when the patch is available for testing. |
Closing since it may be fixed. Otherwise, may also be similar to #119 |
When I installed docker using brew cask install docker on my mac. I couldn't even find the docker.sock file in /var/run folder. Then I uninstalled docker using brew cask uninstall docker and then downloaded the .dmg file from docker website https://store.docker.com/editions/community/docker-ce-desktop-mac and installed it. Everything looks normal now. I can run docker as expected. sh-3.2# cd /var/run sh-3.2# cd /var/run |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
This has just started very recently (last ran Docker last week). Looks to be a duplicate of #42, although that issue is sparse of details.
Diagnostic ID: DEDC5D44-B2E1-4661-8003-309D06286A47
Docker for Mac: 1.12.0 (Build 10871)
macOS: Version 10.11.6 (Build 15G31)
[ERROR] docker-cli
/var/run/docker.sock does not exist
Permission denied (EACCES) connecting to /var/run/docker.sock: check permissions
docker ps failed
[OK] app
[OK] moby-syslog
[OK] disk
[OK] virtualization
[OK] system
[OK] menubar
[OK] osxfs
[OK] db
[OK] slirp
[OK] moby-console
[OK] logs
[OK] vmnetd
[OK] env
[OK] moby
[OK] driver.amd64-linux
Steps to reproduce
The text was updated successfully, but these errors were encountered: