Skip to content

Instantly share code, notes, and snippets.

@vshvedov
Last active April 27, 2016 13:31
Show Gist options
  • Save vshvedov/198022cfdfb3d5887a9f07917874d7c6 to your computer and use it in GitHub Desktop.
Save vshvedov/198022cfdfb3d5887a9f07917874d7c6 to your computer and use it in GitHub Desktop.
Docker, docker-compose and docker-cleanup install for Ubuntu/Debian
# 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