Created
February 8, 2017 01:13
-
-
Save m4scosta/6f8cba07b1fce9757df3a279cacb9c34 to your computer and use it in GitHub Desktop.
Installs docker and docker-compose on ubuntu machine
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
sudo curl -L "https://github.com/docker/compose/releases/download/1.10.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose |
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
sudo apt-get update | |
sudo apt-get install -qy curl linux-image-extra-$(uname -r) linux-image-extra-virtual | |
sudo apt-get install -qy apt-transport-https software-properties-common ca-certificates | |
curl -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add - | |
sudo apt-get install -qy software-properties-common | |
sudo add-apt-repository "deb https://apt.dockerproject.org/repo/ ubuntu-$(lsb_release -cs) main" | |
sudo apt-get update | |
sudo apt-get -qy install docker-engine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment