Last active
January 23, 2017 14:06
-
-
Save franciscocpg/05eea6945124df518c40 to your computer and use it in GitHub Desktop.
Install docker ubuntu
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
| set -e | |
| sudo apt-get install -y apt-transport-https ca-certificates | |
| # add key | |
| curl -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add - | |
| # add source | |
| sudo add-apt-repository "deb https://apt.dockerproject.org/repo/ ubuntu-$(lsb_release -cs) main" | |
| sudo apt-get update | |
| sudo apt-get purge -y lxc-docker* | |
| sudo apt-get install -y docker-engine | |
| sudo usermod -a -G docker $USER | |
| echo "********************************************************" | |
| echo "Reboot the machine before running your first docker" | |
| echo "********************************************************" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Remote install
bash <(curl -s https://gist.githubusercontent.com/franciscocpg/05eea6945124df518c40/raw/)