Skip to content

Instantly share code, notes, and snippets.

@franciscocpg
Last active January 23, 2017 14:06
Show Gist options
  • Select an option

  • Save franciscocpg/05eea6945124df518c40 to your computer and use it in GitHub Desktop.

Select an option

Save franciscocpg/05eea6945124df518c40 to your computer and use it in GitHub Desktop.
Install docker ubuntu
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 "********************************************************"
@franciscocpg

Copy link
Copy Markdown
Author

Remote install

bash <(curl -s https://gist.githubusercontent.com/franciscocpg/05eea6945124df518c40/raw/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment