Created
September 8, 2019 08:07
-
-
Save Sarfarazsajjad/38cd5bbc9f93913a54f35d234a0d0339 to your computer and use it in GitHub Desktop.
Install Docker CE on Linux Ubuntu Bionic
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
#!/usr/bin/env bash | |
sudo apt update | |
sudo apt --yes install \ | |
software-properties-common \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl | |
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 $(lsb_release -cs) stable" | |
sudo apt update | |
sudo apt --yes install docker-ce | |
sudo usermod --append --groups docker $USER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment