Skip to content

Instantly share code, notes, and snippets.

@m4scosta
Created February 8, 2017 01:13
Show Gist options
  • Save m4scosta/6f8cba07b1fce9757df3a279cacb9c34 to your computer and use it in GitHub Desktop.
Save m4scosta/6f8cba07b1fce9757df3a279cacb9c34 to your computer and use it in GitHub Desktop.
Installs docker and docker-compose on ubuntu machine
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
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