Last active
July 20, 2016 04:54
-
-
Save lagz0ne/7e8d2ff9b46d57815e6d to your computer and use it in GitHub Desktop.
Install docker on ubuntu 14.04
This file contains hidden or 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 apt-transport-https ca-certificates && \ | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D && \ | |
sudo touch /etc/apt/sources.list.d/docker.list && \ | |
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee -a /etc/apt/sources.list.d/docker.list && \ | |
sudo apt-get update && \ | |
sudo apt-get purge lxc-docker && \ | |
sudo apt-cache policy docker-engine && \ | |
echo "--------------------------" && \ | |
echo "Installing docker" && \ | |
sudo apt-get install -y linux-image-extra-$(uname -r) docker-engine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment