Last active
February 20, 2017 05:24
-
-
Save Hotfirenet/ef367acf97227144fd880f30afdf447f to your computer and use it in GitHub Desktop.
Script d'automatisation pour l'installation de docker
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
#!/usr/bin/env bash | |
#Automation script By Hotfirenet for debian | |
#NEED ROOT, CURL | |
#Use curl -sSL https://gist.githubusercontent.com/Hotfirenet/ef367acf97227144fd880f30afdf447f/raw/89539ec5a91902d7591cd86f449c20d570fa79dc/docker_install.sh | bash | |
#install docker engine | |
#https://docs.docker.com/engine/installation/linux/debian/ | |
apt-get install -y --no-install-recommends \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
curl -fsSL https://apt.dockerproject.org/gpg | apt-key add - | |
add-apt-repository \ | |
"deb https://apt.dockerproject.org/repo/ \ | |
debian-$(lsb_release -cs) \ | |
main" | |
apt-get update | |
apt-get -y install docker-engine | |
#install docker compose | |
#https://docs.docker.com/compose/install/ | |
curl -L "https://github.com/docker/compose/releases/download/1.11.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
chmod +x /usr/local/bin/docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment