Skip to content

Instantly share code, notes, and snippets.

@quentinadam
Created April 19, 2016 16:29
Show Gist options
  • Save quentinadam/ebe40695f3dd3b0c38473587b19ba374 to your computer and use it in GitHub Desktop.
Save quentinadam/ebe40695f3dd3b0c38473587b19ba374 to your computer and use it in GitHub Desktop.
Install docker
!#/bin/bash
sudo apt-get update
sudo apt-get -y install apt-transport-https ca-certificates
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo echo "deb https://apt.dockerproject.org/repo ubuntu-precise main
deb https://apt.dockerproject.org/repo ubuntu-trusty main
deb https://apt.dockerproject.org/repo ubuntu-wily main" > /etc/apt/sources.list.d/docker.list
sudo apt-get update
sudo apt-get -y install docker-engine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment