Skip to content

Instantly share code, notes, and snippets.

@daspecster
Last active October 2, 2017 20:38
Show Gist options
  • Save daspecster/dbac8ed7e3a3c3755b5acce2a74fcc51 to your computer and use it in GitHub Desktop.
Save daspecster/dbac8ed7e3a3c3755b5acce2a74fcc51 to your computer and use it in GitHub Desktop.
Install Docker Community Edition (docker-ce) on debian
apt-get update;
apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable"
apt-get update
apt-get install -y docker-ce
@daspecster
Copy link
Author

Download with curl -L http://bit.ly/2xWxGHE -o install-docker.sh.

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