docker-machine: no machine name, no “default” exists

I downloaded and installed Docker for Windows 1.12.1 which in turn installed the docker-machine and docker-compose. I did not install “Docker Toolbox” since its a duplicate of what was installed and my system meets the requirements.

Everything seems to work fine except for docker-machine, I’m running through a tutorial and when I run various docker-machine commands like “ip” or “env” I get the following message.

  • Docker, can't ssh to rhel/centos container on Ubuntu 14.04
  • How to separate logs for multiple containers in a single host?
  • Access Docker socket within container
  • mongoDB multiple instances or multiple databases
  • Graylog docker container only binds when it listens to and not
  • How to search images from private 1.0 registry in docker?
  • Error: No machine name(s) specified and no "default" machine exists.

    So when I do a “docker-machine ls” there is nothing in the list even though I do have a Hyper-V docker machine installed and docker commands work fine.

    C:\tmp>docker-machine ls

    Am I missing something here? Did I miss something in the documentation? If so can someone please point me in the right direction to fix this?

    Thanks for any help,


  • Cassandra: How to increase the number of node instances in localhost
  • How to push a local database dump into a docker container?
  • Kubernetes pods not starting, running bind the proxy
  • docker-compose cannot understand my env_file
  • How do I pop up a prompt for docker windows container?
  • Docker-compose ps not showing any output
  • 4 Solutions collect form web for “docker-machine: no machine name, no “default” exists”

    You don’t need docker-machine to manage the Hyper-V virtual machine. In fact you can’t. If you want to see your ip use the docker for Windows GUI.

    Docker team want you use docker for Windows like a regular docker in Linux and don’t bother about virtual machine stuff.

    Docker-machine is included in the same way you can install in Linux. It is for manage machines in the cloud for example or access remote docker engine.


    Documentation docker-machine create

    docker-machine create --driver virtualbox dev


    docker-machine create -d virtualbox \
        --engine-label foo=bar \
        --engine-label spam=eggs \
        --engine-storage-driver overlay \
        --engine-insecure-registry \

    Docker Machine is a tool that lets you install Docker Engine on virtual hosts

    Docker machine just like building docker on a Vm, so first you have to create a Vm, in your case:

    docker-machine create default

    You need to create the machine.

    docker-machine create


    docker-machine create mymachinename
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.