com.docker.osx.hyperkit.linux failed to start Exit code 1( docker failed on the Mac after upgrading ) #1198

Closed
JuanLUJoanne opened this Issue Jan 24, 2017 · 3 comments

Projects

None yet

2 participants

@JuanLUJoanne
JuanLUJoanne commented Jan 24, 2017 edited

com.docker.osx.hyperkit.linux failed to start
Exit code 1

Docker for Mac: version: 1.13.0 (0c6d765c5)
macOS: version 10.12.2 (build: 16C68)
logs: /tmp/6A7535AF-BB98-400D-80BF-7772418EDF26/20170124-142548.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/juanlu/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/juanlu/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/juanlu/Library/Containers/com.docker.docker/Data/s51: Unix.Unix_error(Unix.ECONNREFUSED, "connect", "")")) connecting to /Users/juanlu/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/juanlu/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/juanlu/Library/Containers/com.docker.docker/Data/s60: check if service is running
docker ps failed
[OK] menubar
[OK] disk

@JuanLUJoanne

version: Version 1.13.0 (15072)
Channel: Stable
0c6d765c54

@JuanLUJoanne JuanLUJoanne changed the title from docker failed on the Mac after upgrading to com.docker.osx.hyperkit.linux failed to start Exit code 1( docker failed on the Mac after upgrading ) Jan 24, 2017
@yallop
Member
yallop commented Jan 24, 2017

Recent releases (beta 34.1 and 1.13 stable onwards) check the integrity of the Docker.qcow2 file at startup and refuse to start if the file is corrupt. The logs suggest that in this case the existing Docker.qcow2 file has some damage, most likely caused by silent corruption in an earlier version due to inadequate locking when accessing the file.

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. I apologise for the inconvenience this has caused.

The issue docker/for-mac#1159 has more information.

@yallop yallop closed this Jan 24, 2017
@JuanLUJoanne

thank you. working for me now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment