Bad response from Docker engine after upgrading

Expected behavior

For the past few Docker for Mac upgrades, applying an upgrade should not break my installation.

Actual behavior

After an upgrade, I get Error response from daemon: Bad response from Docker engine in response to docker commands. Restarting Docker doesn’t help. I have to use factory reset to get back to a working state.

Information

  • the output of:

    • Moby Menu > Diagnose & Feedback on OSX
      88D2DB9A-0B2B-4686-A13E-0EEBEA7DB6F2
  • host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )
    OSX 10.11.6 Beta (15G24b)

FWIW, this isn’t a deal breaker for me. Mostly filing the issue in case the diagnostic info helps uncover a more serious bug.

Steps to reproduce the behavior

  1. Wait for a Docker for Mac upgrade. (might be able to repro this by downloading and installing an old Docker for Mac?)
  2. Try doing a docker ps

After a bunch of upgrades, this happens after every reboot.

Diagnostic ID: 849F10C4-6CB7-4DA4-8B1B-ABBE9317A2FF
Docker for Mac: version: mac-v1.12.0-beta18-3-gec40b14
OS X: version 10.11.6 (build: 15G26a)

Still happening with the next beta.

Diagnostic ID: 24385DFF-477B-4CF6-B732-638985B815F8
Docker for Mac: version: win-v1.12.0-beta19
OS X: version 10.11.6 (build: 15G26a)

I am having the same issue, getting this error message after machine reboot.

This is my docker for mac version:
Version 1.12.0 (build: 10871)

Same here, getting this message after an upgrade. Also running Version 1.12.0 (build: 10871).

I solved this by going to Docker Preferences > Uninstall/Reset > Reset Factory Settings. That got the engine running again, and after it rebooted, the toolbox migration assistant moved my images over. Back up and running!

Thanks. I had the same issue but I was able to solve it following your instruction.