You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Diagnostic ID: 93EAC757-7A6D-41B0-ADF3-768A3AF9FDB9
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
Unexpected error (No such file or directory) connecting to /var/run/docker.sock
Connection refused (ECONNREFUSED) connecting to /Users/wombat/Library/Containers/com.docker.docker/Data/s60: check if service is running
docker ps failed
[OK] app
[OK] moby-syslog
[OK] disk
[OK] virtualization
[OK] system
[OK] menubar
[ERROR] osxfs
com.docker.osxfs is not running
[ERROR] db
Connection refused (ECONNREFUSED) connecting to /Users/wombat/Library/Containers/com.docker.docker/Data/s40: check if service is running
com.docker.db is not running
[ERROR] slirp
Connection refused (ECONNREFUSED) connecting to /Users/wombat/Library/Containers/com.docker.docker/Data/s51: check if service is running
com.docker.slirp is not running
[OK] moby-console
[OK] logs
[ERROR] vmnetd
Connection refused (ECONNREFUSED) connecting to /var/tmp/com.docker.vmnetd.socket: check if service is running
/private/tmp/vmnetd/com.docker.vmnetd is not running
[OK] env
[OK] moby
[ERROR] driver.amd64-linux
Docker.app/Contents/MacOS/com.docker.driver.amd64-linux -db is not running
Steps to reproduce
I installed Docker for Mac 1.12 and Docker asked to install networking components - I then entered my password and Docker failed with the Diagnostics I mentioned
Hi can you fille the missing sections (especially the Expected/Actual Behaviour, and any more information that you could provide)? This will help us to understand your issue better.
What do you see when Docker is not starting? Is the icon still continue to be animated? Are you sure you enter your password properly? Can you try a factory reset and try again? Thanks!
btw, this looks indeed strange:
29.07.16 13:52:10,424 Docker[7254]: privileged installation of com.docker.vmnetd successful
29.07.16 13:52:10,424 Docker[7254]: Communication with networking components failed.
Yes, its the user I also used beforehand with the Docker for Mac Beta.
Yeah there is only the "Fatal Error" Dialog with the Diagnostics coming up - afterwards the Docker App just exits and I can´t click "Factory Reset" or similar
I'm glad Docker is now starting. I'm still curious how you got into that state -- we'll review the uninstall/install code to see if we can find the problem.
Re: the images: I don't think there's an easy way to recover them after a factory reset unfortunately. Perhaps the file ~/Library/Containers/com.docker.docker/Data/com.docker.driver-amd64-linux/Docker.qcow2 is in a time-machine backup? Sorry I know that's a bit of a long shot.
@w0mbat really sorry about that. As I never store data directly in my containers (I use bind mounts to store the data on my host filesystem) it didn't occur to me that it would be a problem. I will add a warning next time.
@w0mbat there's a way to uninstall Docker using command line: /Applications/Docker.app/Contents/MacOS/Docker --uninstall
or $(mdfind Docker.app)/Contents/MacOS/Docker --uninstall
I'm seeing the same kind of issue where I'm using docker version 1.12.1, and it's not starting. I'm on macos 10.12.1
If I try to start the app from the applications menu I do not see the fish show up on the top bar. On moving my cursor to the top bar I see a multi-colored wheel spinning. I'm happy to share any diagnostics with you.
@STRML thanks for the interesting observation. Looking at other services on my Mac, most of them seem to put sockets in /var/run -- I'll investigate whether we should move our socket from /var/tmp to /var/run.
Activity
samoht commentedon Jul 29, 2016
Hi can you fille the missing sections (especially the Expected/Actual Behaviour, and any more information that you could provide)? This will help us to understand your issue better.
I'm closing the issue for now on.
wombat commentedon Jul 29, 2016
@samoht I updated the ticket - what else could I fill in?
wombat commentedon Jul 29, 2016
Here is some logs from when I start Docker - how can I completely uninstall Docker for Mac when the app does not come up?
samoht commentedon Jul 29, 2016
What do you see when Docker is not starting? Is the icon still continue to be animated? Are you sure you enter your password properly? Can you try a factory reset and try again? Thanks!
btw, this looks indeed strange:
wombat commentedon Jul 29, 2016
No the icon is not animated - its filled with containers but everything is greyed out:

samoht commentedon Jul 29, 2016
Does your user have admin rights? Also, are you sure there you don't have an hidden dialog somewhere (try CMD-TAB a few times).
wombat commentedon Jul 29, 2016
Yes, its the user I also used beforehand with the Docker for Mac Beta.
Yeah there is only the "Fatal Error" Dialog with the Diagnostics coming up - afterwards the Docker App just exits and I can´t click "Factory Reset" or similar
wombat commentedon Jul 29, 2016
@samoht Do you have a quick-fix to manually uninstall everything? Its kind of urgent as I have to work for my customer :/
samoht commentedon Jul 29, 2016
can you try to reinstall Beta21, do a factory reset, and re-install Stable?
wombat commentedon Jul 29, 2016
Exactly the same situation there :/ Can´t click anything in the menu
samoht commentedon Jul 29, 2016
Maybe just wipe-out
~/Library/Containers/com.docker.docker? I will check if you can run something on the command-line directly.12 remaining items
wombat commentedon Jul 29, 2016
@djs55 w000t! This worked :) Awesome!
wombat commentedon Jul 29, 2016
Do you think I can recover my images somehow? The list is now empty :/
djs55 commentedon Jul 29, 2016
I'm glad Docker is now starting. I'm still curious how you got into that state -- we'll review the uninstall/install code to see if we can find the problem.
Re: the images: I don't think there's an easy way to recover them after a factory reset unfortunately. Perhaps the file
~/Library/Containers/com.docker.docker/Data/com.docker.driver-amd64-linux/Docker.qcow2is in a time-machine backup? Sorry I know that's a bit of a long shot.wombat commentedon Jul 29, 2016
hmmm, yeah its a week old.
@samoht A notice that this folder contains all images would have been nice before suggesting to delete it :/
samoht commentedon Aug 1, 2016
@w0mbat really sorry about that. As I never store data directly in my containers (I use bind mounts to store the data on my host filesystem) it didn't occur to me that it would be a problem. I will add a warning next time.
wombat commentedon Aug 1, 2016
@samoht me neither, but the images themselves were gone - fortunately I was able to pull most of them from a private registry
gdevillele commentedon Aug 1, 2016
@w0mbat there's a way to uninstall Docker using command line:
/Applications/Docker.app/Contents/MacOS/Docker --uninstallor
$(mdfind Docker.app)/Contents/MacOS/Docker --uninstallvivekmenezes commentedon Nov 9, 2016
I'm seeing the same kind of issue where I'm using docker version 1.12.1, and it's not starting. I'm on macos 10.12.1
If I try to start the app from the applications menu I do not see the fish show up on the top bar. On moving my cursor to the top bar I see a multi-colored wheel spinning. I'm happy to share any diagnostics with you.
STRML commentedon Jan 3, 2017
Was having this issue as well - turns out that
/var/tmpand/private/var/tmpwere simply missing (!)I recreated them with the following:
A reboot was required to get docker to create the
com.docker.vmnetd.socket.Strange but true.
djs55 commentedon Jan 3, 2017
@STRML thanks for the interesting observation. Looking at other services on my Mac, most of them seem to put sockets in
/var/run-- I'll investigate whether we should move our socket from/var/tmpto/var/run.docker-robott commentedon Jun 16, 2020
Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.
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.
/lifecycle locked