Microsoft has expanded its cloudy support for Docker, adding Docker Machine to Azure and Hyper-V, and supporting Docker Swarm.
With the release of Docker Machine 1.0 Beta, Microsoft has blogged that users can create a host under Windows using the lightweight Linux boot2docker.
Docker Machine is designed for an easy install. As the Docker blog explains, it’s designed to create Docker Engines on whatever target iron you have in mind (your own metal or in the cloud), and configure the client to talk to them. As well as Azure it supports Amazon EC2, DigitalOcean, Google Compute Engine, OpenStack, Rackspace, SoftLayer, VirtualBox, and VMWare Fusion, vCloud Air and vSphere.
To create a Docker host on your local Windows machine you simply run:
docker-machine create –d hyper-v localDev
To create a Docker host on Azure you use:
docker-machine create -d azure --azure-subscription-id="SUB_ID" --azure-subscription-cert="mycert.pem" cloudDev