Home / DockerMachine
Name Modified Size InfoDownloads / Week
Parent folder
readme.txt 2015-06-15 1.8 kB
docker-machine_linux-amd64 2015-06-15 12.8 MB
Totals: 2 Items   12.8 MB 0
The basics are pretty simple: using Docker Machine CLI you can “create” and “rm” new Docker hosts on bare metal using the crowbar driver.  Since we’re talking about metal, “create” is really “assign a machine from an available pool.”

Behind the scenes Crowbar is doing a full provision cycle of the system including installing the operating system and injecting the user keys.  Crowbar’s design would allow operators to automatically inject additional steps, add monitoring agents and security, to the provisioning process without changing the driver operation.

Beyond Create, the driver supports the other Machine verbs like remove, stop, start, ssh and inspect.  In the case of remove, the Machine is cleaned up and put back in the pool for the next user [note: work remains on the full remove>recreate process].

Overall, this driver allows Docker Machine to work transparently against metal infrastructure along side whatever cloud services you also choose.

Want to try it out?

You need to setup OpenCrowbar – if you follow the defaults (192.168.124.10 ip, user, password) then the Docker Machine driver defaults will also work. - Also, make sure you have the Ubuntu 14.04 ISO available for the Crowbar provisioner
- Discover some nodes in Crowbar – you do NOT need metal servers to try this, the tests work fine with virtual machines (tools/kvm-slave &)
- Install the Docker Machine Bin following the instructions here https://docs.docker.com/machine/
- Allocate a Docker Node using  ./docker-machine create -d crowbar testme
- Go to the Crowbar UI to watch the node be provisioned and configured into the Docker-Machines pool
- Release the node using ./docker-machine rm testme
- Go to the Crowbar UI to watch the node be redeployed back to the System pool
- Try to contain your enthusiasm 
Source: readme.txt, updated 2015-06-15