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 failed #525

Closed
davidyao opened this issue Sep 6, 2016 · 3 comments
Closed

docker failed #525

davidyao opened this issue Sep 6, 2016 · 3 comments

Comments

@davidyao
Copy link

davidyao commented Sep 6, 2016

Expected behavior

Actual behavior

Information

Diagnostic ID: FE301383-62C7-46AF-A9E5-8F74E3292030
Docker for Mac: 1.12.0-a (Build 11213)
macOS: Version 10.11.6 (Build 15G31)
[ERROR] docker-cli
docker ps failed
[OK] app
[OK] moby-syslog
[ERROR] disk
disk check failed with: Failure("exec: /Applications/Docker.app/Contents/Resources/bin/../../../Contents/MacOS/qemu-img check /Users/David/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 > /tmp/FE301383-62C7-46AF-A9E5-8F74E3292030/20160906-170001/qemu-img-check.stdout 2> /tmp/FE301383-62C7-46AF-A9E5-8F74E3292030/20160906-170001/qemu-img-check.stderr: exit 3")
[OK] virtualization
[OK] system
[OK] menubar
[OK] osxfs
[OK] db
[OK] slirp
[OK] moby-console
[OK] logs
[OK] vmnetd
[OK] env
[OK] moby
[OK] driver.amd64-linux

Steps to reproduce

  1. following the tutorial to create a whale image from dockerfile, system restart unexpectively
  2. docker failed to start ever after
@mchiang0610
Copy link

Merging with #119

@samoht
Copy link
Contributor

samoht commented Oct 12, 2016

Detected symptom of problem 'symlinks-are-not-correctly-installed' in FE301383-62C7-46AF-A9E5-8F74E3292030/20160906-170033.

Thanks for your report! The docker symlinks have not been correctly installed by the installer, which is a known issue that we are currently working on. A possible workaround is to install the docker client manually by running:

ln -s ~/Library/Group\ Containers/group.com.docker/bin/docker /usr/local/bin/docker

May be related to #785

The following log matches:

Sep  5 15:21:57 YaoJingweis-MacBook-Pro Docker[com.docker.vmnetd][98324] <Critical>: File /var/run/docker.sock is a symlink or a socket
Sep  5 15:21:57 YaoJingweis-MacBook-Pro Docker[com.docker.vmnetd][98324] <Notice>: User 501 has container folder /Users/David/Library/Containers/com.docker.docker/Data/s60
Sep  5 15:21:57 YaoJingweis-MacBook-Pro Docker[com.docker.vmnetd][98324] <Critical>: File /var/run/docker.sock is a symlink or a socket
Sep  5 15:21:57 YaoJingweis-MacBook-Pro Docker[com.docker.docker][98310] <Error>: Symlinks are not correctly installed.
Sep  5 15:21:57 YaoJingweis-MacBook-Pro Docker[com.docker.docker][98310] <Notice>: com.docker.osx.hyperkit.linux launched with PID 98327
Sep  5 15:21:57 YaoJingweis-MacBook-Pro Docker[com.docker.osx.hyperkit.linux][98327] <Notice>: Acquired task manager lock
Sep  5 15:21:57 YaoJingweis-MacBook-Pro Docker[com.docker.osx.hyperkit.linux][98327] <Notice>: Maximum number of file descriptors is 10240
Sep  5 15:21:57 YaoJingweis-MacBook-Pro Docker[com.docker.osx.hyperkit.linux][98327] <Notice>: Starting com.docker.db, com.docker.osxfs, com.docker.slirp, com.docker.osx.hyperkit.linux, com.docker.driver.amd64-linux

@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 19, 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

5 participants