Created
September 19, 2018 14:52
-
-
Save vpalmisano/3ca73f931c71d18705309e27843c352b to your computer and use it in GitHub Desktop.
This file contains 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
apt-get update && apt-get install -y curl apt-transport-https curl software-properties-common nfs-common ntp | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
cat <<EOF >/etc/apt/sources.list.d/docker.list | |
deb https://download.docker.com/linux/$(lsb_release -si | tr '[:upper:]' '[:lower:]') $(lsb_release -cs) stable | |
EOF | |
apt-get update && apt-get install -y --force-yes docker-ce=$(apt-cache madison docker-ce | grep 17.03 | head -1 | awk '{print $3}') | |
apt-mark hold docker-ce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment