Skip to content

Instantly share code, notes, and snippets.

@lekodeveloperweb
Created October 30, 2016 12:33
Show Gist options
  • Save lekodeveloperweb/eb9f349674fc180f58cfb9e65251aa41 to your computer and use it in GitHub Desktop.
Save lekodeveloperweb/eb9f349674fc180f58cfb9e65251aa41 to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates -y
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo echo deb https://apt.dockerproject.org/repo ubuntu-xenial main >> /etc/apt/sources.list.d/docker.list
#to edit sources withouth Root, use this: echo 'deb https://apt.dockerproject.org/... ubuntu-xenial main' | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get purge lxc-docker
sudo apt-get install linux-image-extra-$(uname -r) -y
sudo apt-get install docker-engine cgroup-lite apparmor -y
sudo usermod -a -G docker $USER
sudo service docker start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment