Created
January 9, 2017 13:18
-
-
Save srenkens/6ab3845be77dc7d5b9280d522b370dd2 to your computer and use it in GitHub Desktop.
Small script to download docker client tooling
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
echo ######################################################################################################################## | |
echo # Run this script as . ./downloadDockerClients.sh to make sure the path is set correctly | |
echo ################################################################################################ | |
# Download Docker client software (untar creates docker folder) | |
wget https://get.docker.com/builds/Linux/x86_64/docker-latest.tgz | |
tar -zxvf docker-latest.tgz | |
rm docker-latest.tgz | |
# Download Docker-compose (and put into the docker folder created in previous step) | |
curl -L "https://github.com/docker/compose/releases/download/1.9.0/docker-compose-$(uname -s)-$(uname -m)" -o ./docker-compose | |
chmod u+x ./docker-compose | |
mv ./docker-compose docker/docker-compose | |
# Set the path | |
export PATH=$PATH:$(pwd)/docker | |
# Test docker binaries and show versions | |
docker --version | |
docker-compose --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment