I’m working on a couple of blog posts that explain how to use docker on Google Compute Engine. As an appetizer, here’s how I installed docker 0.8.0 on OSX, the no-brainer way:
If it’s not done already, install Homebrew. You won’t regret it. It is as simple as that:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
With Homebrew, it’s trivial to install Virtualbox which is a prerequisite to running docker on OSX:
brew tap phinze/homebrew-cask
brew install brew-cask
brew cask install virtualbox
Boot2docker is a small script that helps download and setup a minimal Linux VM that will be in charge of running docker daemon.
brew install boot2docker
brew install docker
More information can be found on docker’s official documentation and on boot2docker’s github. It includes, setting up port forwarding, folder sharing, explaining why we need boot2docker…