Skip to content

Docker for Mac 1.12 not starting up #8

Closed

Description

@wombat

Expected behavior

Docker should start up

Actual behavior

Docker is not starting up

Information

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

Activity

  1. samoht commented on Jul 29, 2016

    @samoht
    Contributor

    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.

  2. wombat commented on Jul 29, 2016

    @wombat
    Author

    @samoht I updated the ticket - what else could I fill in?

  3. wombat commented on Jul 29, 2016

    @wombat
    Author

    Here is some logs from when I start Docker - how can I completely uninstall Docker for Mac when the app does not come up?

    29.07.16 13:51:55,509 Docker[7254]: Application version: 1.12.0 (10871)
    29.07.16 13:51:55,509 Docker[7254]: Administrator user: true
    29.07.16 13:51:55,528 Docker[7254]: OSX Version: Version 10.11.6 (Build 15G31)
    29.07.16 13:51:55,721 Docker[7254]: migrator: start migration process
    29.07.16 13:51:55,723 Docker[7254]: migrator: previous install detected
    29.07.16 13:51:55,723 Docker[7254]: migrator: previous version is 1.12.0-beta21
    29.07.16 13:51:55,723 Docker[7254]: migrator: no migration needed, you are good to go!
    29.07.16 13:51:55,723 Docker[7254]: migrator: successfully updated from version 1.12.0-beta21 to 1.12.0
    29.07.16 13:51:55,723 Docker[7254]: migrator: end of migration process
    29.07.16 13:51:55,759 Docker[7254]: event tracker initialized
    29.07.16 13:51:55,763 Docker[7254]: Bundle path: /Applications/Docker.app
    29.07.16 13:51:55,763 Docker[7254]: com.docker.vmnetd component is missing and will be installed
    29.07.16 13:51:56,457 bird[290]: LaunchServices: Failed to create bundleProxy for bundle com.docker.helper
    29.07.16 13:52:07,097 lsd[248]: LaunchServices: Could not store lsd-identifiers file at /private/var/db/lsd/com.apple.lsdschemes.plist
    29.07.16 13:52:07,103 lsd[248]: LaunchServices: Could not store lsd-identifiers file at /private/var/db/lsd/com.apple.lsdschemes.plist
    29.07.16 13:52:07,113 SecurityAgent[7264]: activateIgnoringOtherApps:1
    29.07.16 13:52:07,116 SecurityAgent[7264]: makeKeyAndOrderFront
    29.07.16 13:52:07,148 SecurityAgent[7264]: com.apple.SecurityAgent.consoleLogin.UIShown
    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.
    29.07.16 13:52:11,448 SpotlightNetHelper[6351]: tcp_connection_tls_session_error_callback_imp 21 __tcp_connection_tls_session_callback_write_block_invoke.434 error 22
    29.07.16 13:52:11,448 SpotlightNetHelper[6351]: tcp_connection_tls_session_error_callback_imp 20 __tcp_connection_tls_session_callback_write_block_invoke.434 error 22
    
  4. reopened this on Jul 29, 2016
  5. samoht commented on Jul 29, 2016

    @samoht
    Contributor

    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.
    
  6. wombat commented on Jul 29, 2016

    @wombat
    Author

    No the icon is not animated - its filled with containers but everything is greyed out:
    bildschirmfoto 2016-07-29 um 13 59 43

  7. samoht commented on Jul 29, 2016

    @samoht
    Contributor

    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).

  8. wombat commented on Jul 29, 2016

    @wombat
    Author

    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

  9. wombat commented on Jul 29, 2016

    @wombat
    Author

    @samoht Do you have a quick-fix to manually uninstall everything? Its kind of urgent as I have to work for my customer :/

  10. samoht commented on Jul 29, 2016

    @samoht
    Contributor

    can you try to reinstall Beta21, do a factory reset, and re-install Stable?

  11. wombat commented on Jul 29, 2016

    @wombat
    Author

    Exactly the same situation there :/ Can´t click anything in the menu

  12. samoht commented on Jul 29, 2016

    @samoht
    Contributor

    Maybe just wipe-out ~/Library/Containers/com.docker.docker? I will check if you can run something on the command-line directly.

  13. 12 remaining items

  14. wombat commented on Jul 29, 2016

    @wombat
    Author

    @djs55 w000t! This worked :) Awesome!

  15. wombat commented on Jul 29, 2016

    @wombat
    Author

    Do you think I can recover my images somehow? The list is now empty :/

  16. djs55 commented on Jul 29, 2016

    @djs55
    Contributor

    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.

  17. wombat commented on Jul 29, 2016

    @wombat
    Author

    hmmm, yeah its a week old.
    @samoht A notice that this folder contains all images would have been nice before suggesting to delete it :/

  18. samoht commented on Aug 1, 2016

    @samoht
    Contributor

    @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.

  19. wombat commented on Aug 1, 2016

    @wombat
    Author

    @samoht me neither, but the images themselves were gone - fortunately I was able to pull most of them from a private registry

  20. gdevillele commented on Aug 1, 2016

    @gdevillele

    @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

  21. vivekmenezes commented on Nov 9, 2016

    @vivekmenezes

    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.

  22. STRML commented on Jan 3, 2017

    @STRML

    Was having this issue as well - turns out that /var/tmp and /private/var/tmp were simply missing (!)

    I recreated them with the following:

    sudo mkdir -p /private/var/tmp
    sudo ln -sf /private/var/tmp /var/tmp

    A reboot was required to get docker to create the com.docker.vmnetd.socket.

    Strange but true.

  23. djs55 commented on Jan 3, 2017

    @djs55
    Contributor

    @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.

  24. docker-robott commented on Jun 16, 2020

    @docker-robott
    Collaborator

    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

  25. locked and limited conversation to collaborators on Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions