Skip to content

Instantly share code, notes, and snippets.

@RichardBronosky
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RichardBronosky/d5a52f8233ad6529a6f4 to your computer and use it in GitHub Desktop.
Save RichardBronosky/d5a52f8233ad6529a6f4 to your computer and use it in GitHub Desktop.
Setting up Docker on Mac OS X 10.10.1
brew update
brew install caskroom/cask/brew-cask
brew cask install virtualbox
// At this point I was getting a sha256 mismatch.
// brew was expecting the same value listed at:
// https://www.virtualbox.org/download/hashes/4.3.20/SHA256SUMS
// But a different sha256 was found for multiple downloads of:
// http://download.virtualbox.org/virtualbox/4.3.20/VirtualBox-4.3.20-96996-OSX.dmg
// This was resolved by:
// rm /Library/Caches/Homebrew/virtualbox-4.3.20-96996.dmg
// curl -Lo /Library/Caches/Homebrew/virtualbox-4.3.20-96996.dmg http://ie.archive.ubuntu.com/disk1/disk1/download.sourceforge.net/pub/sourceforge/v/vi/virtualbox.mirror/VirtualBox%204.3.20/VirtualBox-4.3.20-96996-OSX.dmg
brew install docker
brew install boot2docker
launchctl load /usr/local/opt/boot2docker/homebrew.mxcl.boot2docker.plist
boot2docker init
boot2docker up
// At this point you have to export the variables as
// indicated by the output of the previous command.
// The easy way to do this is:
$(boot2docker shellinit)
// But it's always a good idea to run the command first to see what
// it is putting out on /dev/stdout before you shell expand it.
docker info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment