Docker CLI fails after most recent update

Expected behavior

After opening a terminal session on my Mac, I expected to be able to run a basic docker ps command successfully.

Actual behavior

Nothing happens after entering the command, the terminal session just hangs.

Information

I ran diagnostics and generated the following ID which I have already uploaded: BD381F76-033B-4DF8-BE76-23B2C0CE4ED2

  • Here is the output of:
    • Moby Menu > Diagnose & Feedback on OSX
      Docker for Mac: version: mac-v1.12.0-beta17
      OS X: version 10.11.5 (build: 15F34)
      logs: /tmp/20160707-092432.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
1 Like

Same problem here… it only happened after I rebooted my mac.
My diagnostic id is 59F6D4F8-67C4-45CB-8CD8-0E7E3186AD9B

Deleting docker + rm -rf /Users/myuser/Library/Containers/com.docker.* + reinstalling docker solved it for me… at least for now.

1 Like

Similar for me, I used the uninstall action from the Preferences… menu item to remove Docker. I restarted my Mac, and successfully reinstalled Docker version mac-v1.12.0-beta17. Now running diagnostics shows everything is working correctly.

Similar problem with CLI not working, on beta18

Diagnostic ID: D4F0D98E-8F73-4F24-B486-7A43E779721D
Version 1.12.0-rc3-beta18 (build: 9996)

Problem occurred after Mac had been sleeping overnight. Quitting & restarting Docker resolved it.

Thanks this suggestion helped.

Another instance of docker-cli not working. This time on beta19
Diagnostic ID: D4F0D98E-8F73-4F24-B486-7A43E779721D

As before, quitting & restarting Docker resolved it.

I have the same problem, my diagnostic id is D82AC0EB-2AEE-4782-89D3-0DD3FCFD1C1B

Docker for Mac: version: win-v1.12.0-beta19
OS X: version 10.11.5 (build: 15F34)
logs: /tmp/20160716-145001.tar.gz
failure: docker ps failed: Failure(“docker ps: timeout after 10.00s”)
[ERROR] docker-cli
docker ps failed
[OK] app
[OK] moby-syslog
[OK] virtualization
[OK] menubar
[OK] system
[OK] osxfs
[OK] db
[OK] slirp
[OK] moby-console
[OK] logs
[OK] vmnetd
[OK] env
[OK] moby
[OK] driver.amd64-linux

$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.11.5
BuildVersion: 15F34

$ docker --version
Docker version 1.12.0-rc4, build e4a0dbc, experimental