Running Docker commands while VM is starting breaks VM

Expected behavior

Running a command while the VM is starting gives a message like “Error response from daemon: Bad response from Docker engine”, VM is unaffected.

Actual behavior

Running a command while the VM is starting gives a message like “Error response from daemon: Bad response from Docker engine”, VM breaks. Will never start despite repeated attempts to stop and start it. Docker icon in toolbar constantly spins. Application must be reset necessitating download of all images again.

Information

  • the output of:
    • Moby Menu > Diagnose & Feedback on OSX
      All it says is the docker-cil has an error - docker ps failed.
      ID: F276D67E-7A6B-48D4-AB90-2544BC100DEC

Running OSX Yosemite 10.10.4 (14E46).
Docker version is Version 1.12.0-rc2-beta16 (build: 9493)

Steps to reproduce the behavior

Wake up computer, try to run docker ps before the VM is ready, then try to start VM.

Between this issue and this it seems like waking Docker for Mac from sleep is getting progressively worse.