for-mac icon indicating copy to clipboard operation
for-mac copied to clipboard

Installation just hangs on Mac

Open gcjbr opened this issue 8 years ago • 12 comments

Expected behavior

Running Docker for the first time should install the app

Actual behavior

The app hangs at "initialising docker", whenever I click it, this error message is displayed

screen shot 2018-01-13 at 17 39 28

Information

  • Here's my diagnosis id D205F1DB-BAF4-4EBD-AA56-4CEB8B374231

And here's the actual dianogsis

Docker for Mac: version: 17.12.0-ce-mac47 (72b93a017350990850ddc37cd341bd16fce3e911)
macOS: version 10.13.1 (build: 17B1003)
logs: /tmp/D205F1DB-BAF4-4EBD-AA56-4CEB8B374231/20180113-174807.tar.gz
failure: com.docker.vpnkit is not running
[OK]     db.git
[OK]     vmnetd
[OK]     dns
[ERROR]  driver.amd64-linux
         com.docker.driver.amd64-linux is not running
[OK]     virtualization VT-X
[OK]     app
[ERROR]  moby
         /Users/paranhos/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring does not exist
[OK]     system
[OK]     moby-syslog
[OK]     kubernetes
[OK]     env
[OK]     virtualization kern.hv_support
[ERROR]  slirp
         Unexpected error ((Failure
  "Error connecting socket to 9p endpoint unix:/Users/paranhos/Library/Containers/com.docker.docker/Data/s51: Unix.Unix_error(Unix.ECONNREFUSED, \"connect\", \"\")")) connecting to /Users/paranhos/Library/Containers/com.docker.docker/Data/s51
         com.docker.vpnkit is not running
         slirp check failed with: Unix.Unix_error(Unix.ECONNREFUSED, "connect", "")
[ERROR]  osxfs
         com.docker.osxfs is not running
[OK]     moby-console
[OK]     logs
[ERROR]  docker-cli
         Connection refused (ECONNREFUSED) connecting to /var/run/docker.sock: check if service is running
         Connection refused (ECONNREFUSED) connecting to /Users/paranhos/Library/Containers/com.docker.docker/Data/s60: check if service is running
         docker ps failed
[OK]     menubar
[OK]     disk

I tried uninstalling docker by using this bash script (docker actual menu is non responsive). I also tried reseting to factory defaults, but nothing happens.

Here's my Mac info

screen shot 2018-01-13 at 17 53 20

gcjbr avatar Jan 13 '18 19:01 gcjbr

BTW, I can run docker from bash

gcjbr avatar Jan 13 '18 19:01 gcjbr

I am having the same issue, have you figured anything out?

nadahf avatar Jan 14 '18 03:01 nadahf

@NadahF nope

It seems there are a lot of similar issues here. None with a solution :(

gcjbr avatar Jan 14 '18 05:01 gcjbr

still the same issue. any helps?

nuke99 avatar Jan 14 '18 07:01 nuke99

Hi,

This is the first time Docker was installed on this machine? Did you install it in the Applications folder and run it from there?

akimd avatar Jan 16 '18 09:01 akimd

@akimd it was not the first time, no. I thought it might be related to leftovers from previous installations, but I tried cleaning it all and still got the same issues.

Did you install it in the Applications folder and run it from there?

Yes

gcjbr avatar Jan 16 '18 16:01 gcjbr

Could you have a look at https://github.com/docker/for-mac/issues/2383#issuecomment-358246040 and tell me if you have the same behaviour, and if the script does solve your problem? (and I really should see eraser head).

akimd avatar Jan 17 '18 12:01 akimd

If you get a chance, can you uninstall and then try this test build: https://download-stage.docker.com/mac/pr/21935/Docker.dmg. Keep in mind this is a test build. Ignore any update it might propose, and after the test you will have to reinstall an Edge or Stable version to get proper updates again. Let us know if this works (or upload diagnostics if not) ; if this works fine we'll integrate this fix in a proper release soon.

gtardif avatar Jan 17 '18 19:01 gtardif

Could you please check if the following image fixes your problems? You might need to reset to factory defaults...

https://download-stage.docker.com/mac/pr/21949/Docker.dmg

This is a test build. Ignore any update it might propose, and after testing, reinstall an Edge or Stable version to get proper updates again. Thanks!

akimd avatar Jan 18 '18 12:01 akimd

We just released 17.12.0-ce-mac49 on the Stable channel that contains the fix mentioned above. (and 18.01 on the Edge channel should also fix this)

gtardif avatar Jan 19 '18 20:01 gtardif

18.01 edge worked for me

gcjbr avatar Jan 23 '18 03:01 gcjbr

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

docker-robott avatar Jun 27 '20 03:06 docker-robott