Getting Started with boot2docker

Docker doesn't run natively on OSX. Get around this with boot2docker. Boot2docker handles running virtualbox for you.

Install Homebrew:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install VirtualBox:
brew install caskroom/cask/brew-cask

brew cask install virtualbox

Install Docker:
brew install docker

brew install boot2docker

Configure boot2docker:
boot2docker init

boot2docker up

Update .zshrc file:
eval `boot2docker shellinit 2>/dev/null`

Install Docker Compose (formerly Fig):
brew install docker-compose

You are now ready to go!

Getting Started with boot2docker
Share this