Docker Community Forums

Share and learn in the Docker community.

[v1.11.1-beta14.4.m] Docker fails to start if native/port-forwarding is disabled

beta
docker

(Jercoh) #1

Expected behavior

Docker should start when port forwarding is disabled

Actual behavior

Docker doesn’t start

Information

OS X: version 10.11.5 (build: 15F34)
Docker.app: version: v1.11.1-beta14.4.m
Running diagnostic tests:
Error docker ps: timeout after 10.00s
[ERROR]   docker-cli       docker ps failed: Failure("docker ps: timeout after 10.00s")
[OK]      docker-cli
[ERROR]   Moby booted      /Users/MyUser/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring does not exist
[OK]      Moby booted
[OK]      driver.amd64-linux
[OK]      vmnetd
[OK]      osxfs
[OK]      db
[OK]      slirp
[OK]      menubar
[OK]      environment
[OK]      Docker
[OK]      VT-x
Error docker ps: got timeout (docker ps: exit 1)
Error exec: echo "00000003.0000f3a6" | nc -U /Users/MyUser/Library/Containers/com.docker.docker/Data/@connect > /tmp/20160606-113646/diagnostics.tar: exit 1
Docker logs are being collected into /tmp/20160606-113646.tar.gz
Most specific failure is: /Users/MyUser/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring does not exist
Your unique id is: 703E3222-4743-4A4C-AF7D-DCCA53D2CFAB
Please quote this in all correspondence.

Steps to reproduce the behavior

  1. Start Docker for mac
  2. Run pinata set native/port-forwarding false
  3. Docker times out and is no longer working

(Cswank) #2

I’m also having trouble getting docker to start. I think my port-forwarding is set to true:

pinata get native/port-forwarding
true

My docker for mac has been trying to start up for about 10 minutes now. My diagnostic is the same as the one posted above:

Docker for Mac: version: v1.11.1-beta14.4.m
OS X: version 10.11.4 (build: 15E65)
logs: /tmp/20160606-103544.tar.gz
failure: docker ps failed: Failure("docker ps: timeout after 10.00s")
[ERROR]  docker-cli
         docker ps failed
[OK]     app
[OK]     menubar
[OK]     virtualization
[OK]     system
[OK]     osxfs
[OK]     db
[OK]     slirp
[OK]     moby-console
[OK]     logs
[OK]     vmnetd
[OK]     env
[OK]     moby
[OK]     driver.amd64-linux

(Johannes Steu) #3

Same for me!

20:08:50  Johanness-iMac.local ➜  ~  pinata diagnose
OS X: version 10.11.5 (build: 15F34)
Docker.app: version: v1.11.1-beta14.4.m
Running diagnostic tests:
Error docker ps: timeout after 10.00s
[ERROR]   docker-cli       docker ps failed: Failure("docker ps: timeout after 10.00s")
[OK]      docker-cli
[ERROR]   Moby booted      /Users/hannes/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring does not exist
[OK]      Moby booted
[OK]      driver.amd64-linux
[OK]      vmnetd
[OK]      osxfs
[OK]      db
[OK]      slirp
[OK]      menubar
[OK]      environment
[OK]      Docker
[OK]      VT-x
Error docker ps: got timeout (docker ps: exit 1)
Error exec: echo "00000003.0000f3a6" | nc -U /Users/hannes/Library/Containers/com.docker.docker/Data/@connect > /tmp/20160606-200925/diagnostics.tar: exit 1
Docker logs are being collected into /tmp/20160606-200925.tar.gz
Most specific failure is: /Users/hannes/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring does not exist
Would you like to upload log files? [Y/n]: y

Your unique id is: 111EB216-1EB2-4334-8F90-44E32FC97CD1

syslog:

Jun  6 20:15:33 Johanness-iMac Docker[7809] <Error>: Failed to read command from client
Jun  6 20:15:33 Johanness-iMac Docker[7810] <Notice>: Client reports version 1, commit 1a02018f2729a6d1228fa94a5295ccbf903a4307
Jun  6 20:15:33 Johanness-iMac Docker[7721] <Notice>: virtio-net-vpnkit: bad init version 15
Jun  6 20:15:33 Johanness-iMac Docker[7810] <Notice>: EOF reading packet from Unix domain socket: closing

Had to put pinata network to hostnet