Last active
January 30, 2019 10:54
-
-
Save nam20485/ad6f9c302bf67d1ac70ac059088bc1ab to your computer and use it in GitHub Desktop.
install docker from respository
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
#! /bin/sh | |
UBUNTU_RELEASE=bionic | |
sudo apt-get remove docker docker-engine docker.io containerd runc | |
sudo apt-get update | |
sudo apt-get install -qqy \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $UBUNTU_RELEASE stable" | |
sudo apt-get update | |
sudo apt-get install -qqy docker-ce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment