Skip to content

Instantly share code, notes, and snippets.

@arianpasquali
Created April 10, 2018 16:57
Show Gist options
  • Save arianpasquali/eda92ef0a844ac69bb382f5f9040350e to your computer and use it in GitHub Desktop.
Save arianpasquali/eda92ef0a844ac69bb382f5f9040350e to your computer and use it in GitHub Desktop.
elementaryOS docker setup
#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