Why is my docker machine not working under OSX?

I’ve installed Docker Toolbox v1.8.1b on OSX 10.10.5

This also installs VirtualBox v5.0.2

  • how to rsync from a docker container to my host computer
  • How can I run docker-compose up as shell script by Jenkins
  • How to use wait_for in a two node cluster docker container deployment?
  • Docker ignores patterns in .dockerignore
  • When I run the image on my PC for Docker, I got below error all the time
  • Boot2Docker mount host volume to externalize data using Windows
  • However, when the installation has finished and I run the Docker Quickstart Terminal, it does its thing, creates a new VM in virtualbox but then doesn’t start it, finishing with the message that default is not running.

    When I try to run the machine using docker-machine start default I get the message exit status 1.

    When I go to VirtualBox and attempt to start the machine there, I get the following error message:

    Failed to load VMMR0.r0 (VERR_VMM_SMAP_BUT_AC_CLEAR).
    Result Code: 
    NS_ERROR_FAILURE (0x80004005)
    IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

    So is anyone else getting this or am I not following the instructions properly?

  • How can I get the IP address of a unit started on a machine and use it in another unit with fleet?
  • Mounting windows drives to access from docker
  • Connecting Logstash and Rabbitmq docker containers
  • Using a multidomain certificate for artifactory dokcer repo
  • How do I link and scale multiple docker containers?
  • Cloudera cdh cluster docker deployment
  • One Solution collect form web for “Why is my docker machine not working under OSX?”

    I had exactly the same problem. It seems that there is a bug in recent versions of VirtualBox, which is fixed in the latest test build. See https://www.virtualbox.org/ticket/14412

    I downloaded the latest VirtualBox test build from
    then used the uninstaller script provided in that installer to remove the buggy version before installing the new one.

    Running the Docker QuickStart Terminal again got the default VM running, but it was missing a ca.pem file:

    docker is configured to use the default machine with IP
    For help getting started, check out the docs at https://docs.docker.com
    open /Users/justin/.docker/machine/machines/default/ca.pem: no such file or directory

    VirtualBox confirmed that the VM was running.

    I could create a new VM and use it with docker successfully (in a different Terminal window):

    Justins-MacBook:~ justin$ docker-machine create --driver virtualbox dev
    Creating VirtualBox VM...
    Creating SSH key...
    Starting VirtualBox VM...
    Starting VM...
    To see how to connect Docker to this machine, run: docker-machine env dev
    Justins-MacBook:~ justin$ eval "$(docker-machine env dev)"
    Justins-MacBook:~ justin$ docker run hello-world

    I then deleted the default VM:

    Justins-MacBook:.docker justin$ docker-machine stop default
    Justins-MacBook:.docker justin$ docker-machine rm default
    Successfully removed default

    Running the Docker QuickStart Terminal created a new default VM, and docker is now working happily with it.

    Update: There is an open issue for this at: https://github.com/docker/toolbox/issues/119

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.