Docker Community Forums

Share and learn in the Docker community.

Docker for Mac, nested in kvm of linux


(Keizie) #1

Expected behavior

Just running.

Actual behavior

Mac (kvm guest) freeze right after that docker appears on menubar.

Information

  • the output of:
    • pinata diagnose -u on OSX
    • DockerDebugInfo.ps1 using Powershell on Windows

OS X: version 10.11.4 (build: 15E65)
Docker.app: version v1.11.0-beta9
Running diagnostic tests:
[ERROR] docker-cli /var/run/docker.sock does not exist
[ERROR] docker-cli Unexpected error (No such file or directory) connecting to /var/run/docker.sock
[ERROR] docker-cli Connection refused (ECONNREFUSED) connecting to /var/tmp/docker.sock: check if service is running
Error docker ps: timeout after 10.00s
[ERROR] docker-cli docker ps failed: Misc.Failure
[OK] docker-cli
[ERROR] Moby booted /Users/keizie/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring does not exist
[OK] Moby booted
[ERROR] driver.amd64-linux Docker.app/Contents/MacOS/com.docker.driver.amd64-linux -db is not running
[OK] driver.amd64-linux
[OK] vmnetd
[ERROR] osxfs com.docker.osxfs is not running
[OK] osxfs
[ERROR] db Connection refused (ECONNREFUSED) connecting to /var/tmp/com.docker.db.socket: check if service is running
[ERROR] db com.docker.db is not running
[OK] db
[ERROR] slirp Connection refused (ECONNREFUSED) connecting to /var/tmp/com.docker.port.socket: check if service is running
[ERROR] slirp com.docker.slirp is not running
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Error docker ps: got timeout (docker ps: exit 1)
Thread 6 killed on uncaught exception Misc.Failure
Docker logs are being collected into /tmp/20160515-133429.tar.gz
Most specific failure is: com.docker.slirp is not running
Your unique id is: E43E68A4-30C3-4AE0-A0B6-6F339536A506
Please quote this in all correspondence.

  • a reproducible case if this is a bug, Dockerfiles FTW
  • page URL if this is a docs issue or the name of a man page
  • host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )

ubuntu 16.10
linux kernel 4.4.0
qemu 2.5 + kvm + core2duo,+vmx,+nx,+ssse3,+sse4.1,+sse4.2 cpu option
ovmf+clover bootloader.

Steps to reproduce the behavior

  1. Run docker app on launchpad
  2. docker icon shows up in menubar
  3. system freeze

below is output when I run docker.app MacOS binaries from command line;

1463286944358289920 com.docker.app Application version: 1.11.0-beta9 (6388)
1463286944377500160 com.docker.app OSX Version: Version 10.11.4 (Build 15E65)
1463286944505782016 com.docker.app migrator: start migration process
1463286944509094912 com.docker.app migrator: previous install detected
1463286944509371904 com.docker.app migrator: previous version is 1.11.0-beta9
1463286944509392896 com.docker.app migrator: no migration needed, you are good to go!
1463286944509395968 com.docker.app migrator: end of migration process
1463286944525316096 com.docker.app event tracker initialized
1463286944528841984 com.docker.app Limited access: checking…
1463286944661899008 com.docker.app Bundle path: /Applications/Docker.app
1463286944663128832 com.docker.app com.docker.docker commit: 965e3f981d73fe82857f3c1439ba3dc1acaecab6 wants version 13
1463286944663144192 com.docker.app com.docker.vmnetd commit: 965e3f981d73fe82857f3c1439ba3dc1acaecab6 has version 13
1463286944663148032 com.docker.app probe of /var/tmp/com.docker.vmnetd.socket successful: not reinstalling component
1463286944668756992 com.docker.app Symlinks are valid.
1463286944743088896 com.docker.app com.docker.osx.xhyve.linux launched with PID 704


(Keizie) #2

DA8B090A-3892-44AC-9DBF-B6BC02148F58 of diagnose has error;
docker ps failed
/Users/keizie/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring does not exist
Docker.app/Contents/MacOS/com.docker.driver.amd64-linux -db is not running

Not freeze now. Thanks for that.