Created
October 14, 2020 05:26
-
-
Save andrewd-uriux/ed7b44e7d6a55a94e9f28160d497b201 to your computer and use it in GitHub Desktop.
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
#https://docs.docker.com/engine/install/ubuntu/ | |
sudo apt-get update | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
# verify fingerprint | |
# sudo apt-key fingerprint 0EBFCD88 | |
sudo apt-get update && sudo apt-get install -y docker-ce docker-ce-cli containerd.io | |
#verify installed correctly | |
sudo docker run hello-world | |
# add user to group | |
sudo usermod -aG docker $USER | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment