Created
April 10, 2018 16:57
-
-
Save arianpasquali/eda92ef0a844ac69bb382f5f9040350e to your computer and use it in GitHub Desktop.
elementaryOS docker setup
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
#INSTALL DOCKER CE ON elementaryOS | |
#Uninstall old versions | |
sudo apt-get remove docker docker-engine docker.io | |
#Set up the repository | |
sudo apt-get update | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
#Add Docker’s official GPG key: | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
xenial \ | |
stable" | |
sudo apt-get update | |
#Install Docker CE | |
sudo apt-get install -y docker-ce | |
#test docker setup | |
sudo docker run hello-world |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment