Created
June 20, 2018 23:02
-
-
Save leonj1/e3d66ba271b0d2512d0f4699d1742587 to your computer and use it in GitHub Desktop.
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 | |
# This is NOT for Raspberry Pi. | |
# For RasPi try a diff script in my gists | |
apt-get -y remove docker docker-engine docker.io | |
apt-get update | |
apt-get -y install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
apt-key fingerprint 0EBFCD88 | |
add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
apt-get update | |
apt-get install -y docker-ce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment