Docker-Machine stuck on creating default

I’m trying to start the default machine of Docker on Mac OSX.

Everytime i’m trying to start a new default machine by command:

  • Java app in Docker container does not log to syslog properly
  • Containerization pattern best practice
  • Sublime plugins execute in docker container
  • docker doesn't get the latest images with tag latest
  • Elastic search with docker does not start
  • How to build docker image for a spring boot application jar?
  • docker-machine create --driver virtualbox default
    

    of using Docker Quick Start Terminal It stucks on

    (default) Creating SSH key...
    

    This is the output:

    Running pre-create checks...
    Creating machine...
    (default) Copying /Users/avivpaz/.docker/machine/cache/boot2docker.iso to /Users/avivpaz/.docker/machine/machines/default/boot2docker.iso...
    (default) Creating VirtualBox VM...
    (default) Creating SSH key...
    

    This is my OSX and Docker versions:

    Mac 10.11.3    
    docker-machine version 0.6.0, build e27fb87
    

  • Can't access Tomcat launched in Docker container
  • After docker build . the container is not displayed, why?
  • Docker overwrites files?
  • Sharing /tmp between two containers
  • Running docker command from docker container
  • is it possible to speed up writes inside a docker container?
  • 2 Solutions collect form web for “Docker-Machine stuck on creating default”

    That seems to be followed by issue 2788 and more related to VirtualBox than docker machine.

    Try and reboot the Mac, or make sure there is no VBox… process.

    First, just delete the boot2docker.iso from ~/cache directory and once again restart the docker terminal. If will download the fresh latest boot2docker.iso and you are good to go.
    If it’s not working manually download the latest boot2docker.iso and place it into the above directory of cache

    /Users/{user}/.docker/machine/cache/
    
    $ ~/.docker/machine/cache
    
    $ ls
    boot2docker.iso
    

    And, finally run to create an virtual machine,

    docker-machine create --driver virtualbox default
    

    And, again, you are good to go. Hope this helps.

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