Skip to content
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

Docker error on start #1485

Closed
Maykonn opened this issue Mar 29, 2017 · 4 comments
Closed

Docker error on start #1485

Maykonn opened this issue Mar 29, 2017 · 4 comments

Comments

@Maykonn
Copy link

Maykonn commented Mar 29, 2017

When I try to start docker on Mac, docker ask to diagnose, result:

Docker for Mac: version: 17.03.1-ce-mac5 (b18e2a50c)
macOS: version 10.12.3 (build: 16D32)
logs: /tmp/8CB33EA8-E02D-45D8-BCB4-260F6FD60F95/20170329-164831.tar.gz
failure: com.docker.slirp is not running
[OK]     vmnetd
[OK]     dns
[ERROR]  driver.amd64-linux
         com.docker.driver.amd64-linux -db is not running
[OK]     virtualization VT-X
[OK]     app
[ERROR]  moby
         /Users/maykonn/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring does not exist
[OK]     system
[OK]     moby-syslog
[ERROR]  db
         Connection refused (ECONNREFUSED) connecting to /Users/maykonn/Library/Containers/com.docker.docker/Data/s40: check if service is running
         com.docker.db is not running
[OK]     env
[OK]     virtualization kern.hv_support
[ERROR]  slirp
         Unexpected error ((Failure
  "Error connecting socket to 9p endpoint unix:/Users/maykonn/Library/Containers/com.docker.docker/Data/s51: Unix.Unix_error(Unix.ECONNREFUSED, \"connect\", \"\")")) connecting to /Users/maykonn/Library/Containers/com.docker.docker/Data/s51
         com.docker.slirp is not running
         slirp check failed with: (Failure
  "Error connecting socket to 9p endpoint unix:/Users/maykonn/Library/Containers/com.docker.docker/Data/s52: 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/maykonn/Library/Containers/com.docker.docker/Data/s60: check if service is running
         docker ps failed
[OK]     menubar
[OK]     disk

@avsm
Copy link

avsm commented Mar 29, 2017

Thanks for the bug report. Did you recently upgrade Docker for Mac from a previous beta version? It looks like there is evidence of block corruption in the qcow file:

 Docker[com.docker.driver.amd64-linux][30848] <Notice>: com.docker.hyperkit: [ERROR] Found two references to cluster 275849: 274040.22448 and 210.8808
Docker[com.docker.driver.amd64-linux][30848] <Notice>: com.docker.hyperkit: [ERROR] Mirage block device raised exception: (Failure "Found two references to cluster 275849: 274040.22448 and 210.8808")

This means that the app is failing to start after failing the integrity checks. There were some known issues with upgrade in this regard. As a workaround we recommend either uninstalling and reinstalling the application or rm ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2, then restarting. Unfortunately containers and images will need to be rebuilt after this since it will be a fresh instance of Docker for Mac.

@Maykonn
Copy link
Author

Maykonn commented Mar 30, 2017

I just installed the Docker from docker website and after some days started giving error.
I uninstall and re-install and works now.

@avsm
Copy link

avsm commented Mar 30, 2017

Thanks for the update @Maykonn. We've got a few internal issues tracking the storage corruption, which is thankfully quite rare. I'll close this issue for now as a dup of #1159. Glad to hear it is working for you after a reinstall!

@docker-robott
Copy link
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

@docker docker locked and limited conversation to collaborators Jun 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants