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:

  • How to properly launch an OpenShift v3 app
  • run /usr/sbin/sshd in a Dockerfile does not work
  • What's are the benefits for using Data Volume Container as a single-database “backend” in Docker?
  • Ubuntu/UFW: How to tell Docker not to expose all ports?
  • wurstmeister/kafka modify the KAFKA_ADVERTISED_HOST_NAME in docker-compose.yml
  • Rails 5, Kubernetes and Google Container Engine
  • 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 Toolbox port mapping not working
  • Best way to reduce the size of a custom Docker image
  • Docker Base Image Size configured in daemon.json
  • Identity Server 4 running within docker container Exception: Unable to load DLL 'System.Security.Cryptography.Native.OpenSsl'
  • How do networking and load balancer work in docker swarm mode?
  • Restrict system calls inside docker container
  • 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.