Last active
August 29, 2015 14:03
-
-
Save mattes/a83b887e0e79a461ce95 to your computer and use it in GitHub Desktop.
Update Docker and Boot2docker-CLI
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
# curl https://gist.githubusercontent.com/mattes/a83b887e0e79a461ce95/raw/update.sh | bash | |
boot2docker version | |
docker version | |
# update docker | |
( | |
cd /tmp | |
wget http://get.docker.io/builds/Darwin/x86_64/docker-latest.tgz | |
tar -xvf docker-latest.tgz | |
chmod +x usr/local/bin/docker | |
rm -f /usr/local/bin/docker | |
mv usr/local/bin/docker /usr/local/bin/docker | |
rm -rf usr | |
rm -f docker-latest.tgz | |
) | |
# update boot2docker-cli | |
( | |
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 version | |
docker version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment