Created
May 30, 2018 20:16
-
-
Save rogaldh/ce2ebe0d3862ebf1d5c507d788d3115f to your computer and use it in GitHub Desktop.
install Docker.debian
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
# https://docs.docker.com/install/linux/docker-ce/debian/#set-up-the-repository | |
$ apt-get remove docker docker-engine docker.io | |
$ apt-get update -y | |
$ apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg2 \ | |
software-properties-common | |
$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - | |
# Verify that you now have the key with the fingerprint 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88 | |
$ 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