Last active
May 28, 2018 16:02
-
-
Save pirafrank/2226ffba3aa584c7ff3a866afe4e91c2 to your computer and use it in GitHub Desktop.
Install Docker on Debian Jessie (Debian 8.x)
This file contains hidden or 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/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