Skip to content

Instantly share code, notes, and snippets.

@ryuheechul
Created June 13, 2017 12:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryuheechul/33445a45578b609b5816d5f9868c8e67 to your computer and use it in GitHub Desktop.
Save ryuheechul/33445a45578b609b5816d5f9868c8e67 to your computer and use it in GitHub Desktop.
Installation steps to install docker-ce on Elemantary OS Loki
#!/usr/bin/env bash
# based on https://store.docker.com/editions/community/docker-ce-server-ubuntu
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
sudo apt update
sudo apt-get install -y docker-ce
sudo usermod -aG docker $USER
# and logout and login
docker run hello-world # sudo docker run hello-world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment