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

Fails to start after installing Docker (com.docker.supervisor failed to start)

Open nadahf opened this issue 8 years ago • 13 comments

Expected behavior

Set up Docker right after installation

Actual behavior

com.docker.supervisor failed to start. Exit code 1

**Similar to this issue https://github.com/docker/for-mac/issues/2317 However, from the diagnostics output it seems like it is also failing on Moby and there is no "/" from the shared folder so that fix has not applied to this issue.

Information

Docker for Mac: version: 17.12.0-ce-mac47 (72b93a017350990850ddc37cd341bd16fce3e911)
macOS: version 10.13.1 (build: 17B1003)
logs: /tmp/583074AD-7AAC-4EB6-BB4E-97FA73678639/20180113-192400.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/NadahFeteih/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/NadahFeteih/Library/Containers/com.docker.docker/Data/s51: Unix.Unix_error(Unix.ECONNREFUSED, \"connect\", \"\")")) connecting to /Users/NadahFeteih/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/NadahFeteih/Library/Containers/com.docker.docker/Data/s60: check if service is running
         docker ps failed
[OK]     menubar
[OK]     disk

Steps to reproduce the behavior

  1. Just dowloaded and attempted to install Docker for Mac from website.

nadahf avatar Jan 14 '18 03:01 nadahf

Reinstalling the Docker app fixed this for me.

HowWeRollingham avatar Jan 15 '18 11:01 HowWeRollingham

Thanks for the report!

akimd avatar Jan 18 '18 12:01 akimd

I got the same issue, Is there any update on this ?

bladestone01 avatar Jan 19 '18 00:01 bladestone01

A new release of 17.12 is expected today, please try it.

akimd avatar Jan 19 '18 10:01 akimd

Hello! I encountered the same problem with version 10.13.2.

The report looks exactly the same as the one posted above, with the only difference being the version number: version 10.13.1 (build: 17B1003) => version 10.13.2 (build: 17C88)

master-andra avatar Jan 19 '18 14:01 master-andra

I had the same issue with a very similar log. It was resolved by downloading the Edge Version: 18.02.0-ce-rc1-mac50 (22256)

mbenaven avatar Feb 02 '18 04:02 mbenaven

Same as @mbenaven:

  • Before: 17.12.0-ce-mac49, broke today for who knows what reason
  • After: 18.02.0-ce-rc2-mac51 (with an extra 150 MB of stuff)

geerlingguy avatar Feb 06 '18 23:02 geerlingguy

(First I want to apologise for having closed the issue so quickly: I got confused by the two similar avatars and thought @NadahF was answering that he fixed his/her issue, but it was actually @HowWeRollingham).

We can hardly do anything with good Diagnostics. Could some please run

./docker-diagnose.exe --last 1d --upload

using this docker-diagnose: https://github.com/docker/for-mac/files/1695522/docker-diagnose.zip, and report here the diagnostic id?

Thanks in advance!

akimd avatar Feb 07 '18 08:02 akimd

I get the following diagnosis:

[ 9:50:44] ~ : /Applications/Docker.app/Contents/Resources/bin/docker-diagnose -u
macOS: version 10.12.6 (build: 16G1212)
Docker.app: version: 17.12.0-ce-mac49 (d1778b704353fa5b79142a2055a2c11c8b48a653)
Local time: Wed Feb  7 09:51:20 EST 2018
UTC:        Wed Feb  7 14:51:20 UTC 2018
Timestamp:  20180207-095120
Running diagnostic tests:
[ERROR]   docker-cli       Connection refused (ECONNREFUSED) connecting to /var/run/docker.sock: check if service is running
[ERROR]   docker-cli       Connection refused (ECONNREFUSED) connecting to /Users/me/Library/Containers/com.docker.docker/Data/s60: check if service is running
Error docker ps: timeout after 10.00s
[ERROR]   docker-cli       docker ps failed: (Failure "docker ps: timeout after 10.00s")
[OK]      Moby booted
[ERROR]   driver.amd64-linux com.docker.driver.amd64-linux is not running
[OK]      vmnetd
[ERROR]   osxfs            com.docker.osxfs is not running
[ERROR]   vpnkit           Unexpected error ((Failure
  "Error connecting socket to 9p endpoint unix:/Users/me/Library/Containers/com.docker.docker/Data/s51: Unix.Unix_error(Unix.ECONNREFUSED, \"connect\", \"\")")) connecting to /Users/me/Library/Containers/com.docker.docker/Data/s51
[ERROR]   vpnkit           com.docker.vpnkit is not running
Error docker ps: got timeout (docker ps: exit 1)

I have Docker installed through brew cask

majidfn avatar Feb 07 '18 15:02 majidfn

Exactly the same diagnose Unable to install

olivier1208 avatar Feb 08 '18 09:02 olivier1208

Exit the installer when it fails, and try again. It worked for me on the second attempt to install the update.

ivantion avatar Feb 12 '18 17:02 ivantion

Closing, as we have newer releases. Please open new issues if you still have the problem with forthcoming 18.03.

akimd avatar Mar 14 '18 14:03 akimd

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