Let's try out Docker!
$ sudo apt-get update
$ sudo apt-get install docker.io
$ sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
# optional
$ sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io
For the bleeding edge versions, see the documentation.
brew install boot2docker docker
boot2docker init
boot2docker up
Follow the steps described in the documentation.