Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
curl -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add -
sudo apt-get install -y \
apt-transport-https \
software-properties-common \
ca-certificates
sudo add-apt-repository \
"deb https://apt.dockerproject.org/repo/ \
ubuntu-$(lsb_release -cs) \
main"
sudo apt-get update
sudo apt-get -y install docker-engine
# add current user to docker group so there is no need to use sudo when running docker
sudo usermod -aG docker $(whoami)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.