install boot2docker & docker for mac
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
# http://docs.docker.io/en/latest/installation/mac/ | |
## install boot2docker | |
#mkdir -p ~/bin | |
#curl https://raw.github.com/boot2docker/boot2docker/master/boot2docker > ~/bin/boot2docker | |
brew install boot2docker | |
## install docker | |
#curl -o docker https://get.docker.io/builds/Darwin/x86_64/docker-latest | |
#chmod +x docker | |
#sudo cp docker /usr/local/bin/ | |
export DOCKER_HOST=tcp://127.0.0.1:4243 | |
echo "DOCKER_HOST=tcp://127.0.0.1:4243" >> $HOME/.bash_profile | |
brew install docker | |
## run boot2docker | |
boot2docker init | |
boot2docker up | |
boot2docker ssh # ID docker / PW tcuser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment