Skip to content

Instantly share code, notes, and snippets.

@TilmanGriesel
Last active August 3, 2017 15:03
Show Gist options
  • Save TilmanGriesel/85146309febf7e115409dbbb11b4a664 to your computer and use it in GitHub Desktop.
Save TilmanGriesel/85146309febf7e115409dbbb11b4a664 to your computer and use it in GitHub Desktop.
Install Docker CE on Stretch
#!/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
@TilmanGriesel
Copy link
Author

TilmanGriesel commented Aug 3, 2017

curl -sSL https://gist.githubusercontent.com/TilmanGriesel/85146309febf7e115409dbbb11b4a664/raw/764c9820b5c7d6683 d2b5eecbeb67d9cc7d497af/install-docker.sh | sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment