This file contains 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
#!/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