Created
December 15, 2018 19:01
-
-
Save albertomm/a95b8bab134c5311939bdfda88d8787d to your computer and use it in GitHub Desktop.
Install docker-ce in Ubuntu Trusty based distribution
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 | |
set -e | |
set -u | |
apt-get update | |
apt-get install \ | |
linux-image-extra-$(uname -r) \ | |
linux-image-extra-virtual \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
apt-key fingerprint 0EBFCD88 | |
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu trusty 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