Last active
August 3, 2017 15:03
-
-
Save TilmanGriesel/85146309febf7e115409dbbb11b4a664 to your computer and use it in GitHub Desktop.
Install Docker CE on Stretch
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/sh | |
sudo apt-get update | |
sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common -y | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | |
sudo apt-get update | |
sudo apt-get install docker-ce -y | |
sudo docker run hello-world | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -sSL https://gist.githubusercontent.com/TilmanGriesel/85146309febf7e115409dbbb11b4a664/raw/764c9820b5c7d6683 d2b5eecbeb67d9cc7d497af/install-docker.sh | sh