Skip to content

Instantly share code, notes, and snippets.

@witooh
Created March 7, 2015 05:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save witooh/fc45094e8839a0bcb881 to your computer and use it in GitHub Desktop.
Save witooh/fc45094e8839a0bcb881 to your computer and use it in GitHub Desktop.
Install docker in ubuntu
[ -e /usr/lib/apt/methods/https ] || {
apt-get install apt-transport-https
}
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
sudo sh -c "echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
sudo apt-get update
sudo apt-get install -y lxc-docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment