Last active
August 29, 2015 14:02
-
-
Save mattes/9961a8bd5c9d53f48ce6 to your computer and use it in GitHub Desktop.
boot2docker-cli mac osx install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see also: https://gist.github.com/mattes/a83b887e0e79a461ce95