docker-machine: no machine name, no "default" exists docker-machine: no machine name, no "default" exists docker docker

docker-machine: no machine name, no "default" exists


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 don't need docker-machine to manage the Hyper-V virtual machine. In fact you can't unless you configure it explicitly to do so. If you want to see your IP use the Docker for Windows GUI.

The Docker team wants you to use Docker for Windows like a regular Docker in Linux and not have to bother with virtual machine stuff.

Docker-machine is included in the same way you can install in Linux. It is for managing machines in the cloud for example, or accessing a remote Docker Engine. For example in Linux you issue your Docker commands in a natural way, but you can also have a virtual machine with Docker and manage it using docker-machine in your host. Now in Windows it works in the same way.

Regards


Documentation docker-machine create

docker-machine create --driver virtualbox dev

or

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