Skip to content

Instantly share code, notes, and snippets.

@mattes
Last active August 29, 2015 14:02
Show Gist options
  • Save mattes/9961a8bd5c9d53f48ce6 to your computer and use it in GitHub Desktop.
Save mattes/9961a8bd5c9d53f48ce6 to your computer and use it in GitHub Desktop.
boot2docker-cli mac osx install
# if boot2docker is already installed with brew
brew uninstall boot2docker
brew uninstall boot2docker-cli
# install go (which is always a good idea)
brew install go
# export $GOPATH ~/go # or whatever
cd $GOPATH && mkdir src && mkdir pkg && mkdir bin
cd $GOPATH
cd src/github.com/boot2docker
rm -rf boot2docker-cli
go get github.com/boot2docker/boot2docker-cli
cd boot2docker-cli
rm -f $GOPATH/bin/boot2docker-cli
make goinstall
mv $GOPATH/bin/boot2docker-cli /usr/local/bin/boot2docker
boot2docker init
boot2docker up
# note boot2docker.iso is stored at ~/.boot2docker
@mattes
Copy link
Author

mattes commented Jul 11, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment