Docker for Windows doesn't work

I am trying to setup Docker on Windows 8.1. I was following this guide: It seems nice and straight forward … except it’s not working for me.

The installation passes allright. Then I run the Boot2Docker Start, it says it’s initializing and then closes the command line windows. Some sample outputs:

  • Dockers container source code mounting failed in Ubuntu
  • smtp sendmail in Dockerised Golang Web App in GAE doesn't work
  • How to back up docker swarm mode service configuration for disaster recovery
  • Docker - Elasticsearch - Failed to establish a new connection: [Errno 111] Connection refused',))
  • Running a docker container as a task in marathon
  • nginx timeout after https proxy to localhost
  • C:\Program Files\Boot2Docker for Windows>docker version
    Client version: 1.6.2
    Client API version: 1.18
    Go version (client): go1.4.2
    Git commit (client): 7c8fca2
    OS/Arch (client): windows/amd64
    FATA[0000] Get http:///var/run/docker.sock/v1.18/version: dial unix /var/run/doc
    ker.sock: An address incompatible with the requested protocol was used.. Are you
     trying to connect to a TLS-enabled daemon without TLS?


    C:\Program Files\Boot2Docker for Windows>boot2docker.exe delete
    C:\Program Files\Boot2Docker for Windows>boot2docker.exe download
    Latest release for is v1.6.2
    Downloading boot2docker ISO image...
    Success: downloaded
            to C:\Users\Antonin\.boot2docker\boot2docker.iso
    C:\Program Files\Boot2Docker for Windows>boot2docker.exe init
    C:\Program Files\Boot2Docker for Windows>boot2docker.exe start
    error in run: Failed to start machine "boot2docker-vm": exit status 1

    I would provide some more information, but I have no idea where to find any logs.

    Is there anyone experienced with Docker running on Windows who has an idea what my problem is?

  • Docker Container Based on Non Existing Image?
  • Docker: Unable to clone a github private rebo inside at run time
  • Why does echo $VARIABLE, within a /bin/bash -c “…” section of a dockerfile run instruction, return empty on docker build?
  • Should I be concerned about excess, non-running, Docker containers?
  • Docker container for Swagger UI not loading
  • How to Keep Docker Container Running After Starting Services?
  • 2 Solutions collect form web for “Docker for Windows doesn't work”

    As Daniel hinted, by running the virtual machine image directly in VirtualBox, you get more detailed error message.

    My error message was exactly the same as Daniel is showing.

    The solution is this:

    1. Turn on virtualization in BIOS.
    2. Make sure it is not being used by something already – common issue is Hyper-V. Search for “Turn Windows features on or off“, untick Hyper-V, restart your computer. Docker should work for you now.

    Of course I had a reason why I had the Hyper-V on, I guess I’ll have to make some compromises in order to have the Docker running.

    Be sure to check that your bios is properly configured. I ran into this same exact issue, as was able to resolve it by re-configuring my bios. Check the screenshot image below. I was able to see this error message when trying to start the docker-vm manually through Virtual Box. I think the error message could be a little more clear from the boot2docker cli though. The exist status 1 isn’t very clear. Hope this helps.

    enter image description here

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