Skip to content

Instantly share code, notes, and snippets.

@pirafrank
Last active May 28, 2018 16:02
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 pirafrank/2226ffba3aa584c7ff3a866afe4e91c2 to your computer and use it in GitHub Desktop.
Save pirafrank/2226ffba3aa584c7ff3a866afe4e91c2 to your computer and use it in GitHub Desktop.
Install Docker on Debian Jessie (Debian 8.x)
#!/bin/bash
# install latest docker-ce release on debian jessie (debian 8.x) or newer
# you need to run this script as root
apt-get update
apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
apt-get update
apt-get install docker-ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment