Last active
April 27, 2016 13:31
-
-
Save vshvedov/198022cfdfb3d5887a9f07917874d7c6 to your computer and use it in GitHub Desktop.
Docker, docker-compose and docker-cleanup install for Ubuntu/Debian
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
# Docker | |
wget -qO- https://get.docker.com/ | sh | |
sudo gpasswd -a ${USER} docker | |
# docker-compose | |
sudo sh -c "curl -L https://github.com/docker/compose/releases/download/1.6.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose" | |
sudo chmod +x /usr/local/bin/docker-compose | |
sudo sh -c "curl -L https://raw.githubusercontent.com/docker/compose/1.6.2/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose" | |
#docker-cleanup | |
cd /tmp | |
git clone https://gist.github.com/76b450a0c986e576e98b.git | |
cd 76b450a0c986e576e98b | |
sudo mv docker-cleanup /usr/local/bin/docker-cleanup | |
sudo chmod +x /usr/local/bin/docker-cleanup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment