Install docker on Mac including VirtualBox and boot2docker dependencies with one simple command.
Requires brew and will install it if it isn't found.
With npm do
npm i -g docmac && docmac
With curl do
curl -L https://raw.github.com/thlorenz/docmac/master/bin/docmac.sh | sh
Most of the bin scripts have been adapted from these installation instructions