At the end of last year, Docker released Docker Machine.  It is, without a doubt, the easiest way to spin up Docker Hosts.  The best part, is that Docker Machine can do this across local resources (laptop with VirtualBox) but also AWS EC2, Digital Ocean, Google Compute Engine, VMware vSphere, and others.  In addition, Machine can setup Swarm clusters, which is pretty handy.  To see the full list of providers and README checkout the Docker Machine repository on GitHub.

If you don’t want to take the time to look at the README and figure it out, I’ve put together a 4 minute video on how to setup and use Docker Machine on your laptop using the VirtualBox provider.  This video is a little outdated, you won’t need to get the development Docker binaries now as the latest version (1.5.0) includes the identity authentication functionality.

Enjoy!

Tags: