Created
June 13, 2017 12:03
-
-
Save ryuheechul/33445a45578b609b5816d5f9868c8e67 to your computer and use it in GitHub Desktop.
Installation steps to install docker-ce on Elemantary OS Loki
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
#!/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