Created
January 29, 2018 11:49
-
-
Save vladbabii/a5844c9356ccbf2c79bb0d26cb498b78 to your computer and use it in GitHub Desktop.
install_docker_latest_on_ubuntu_with_root_user.sh
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 remove docker docker-engine docker.io | |
apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common \ | |
-y | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
apt-get update | |
apt-get install \ | |
docker-ce \ | |
-y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment