Last active
March 6, 2022 11:18
-
-
Save aedorado/283fc111670dff300c435838633fc766 to your computer and use it in GitHub Desktop.
Install docker on Ubuntu 20.04 LTS
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
# Update packages list: | |
sudo apt update | |
# Prerequsites: | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common | |
# Add the GPG key: | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
# Now add the docker reop | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" | |
# Update packages list | |
sudo apt update | |
# Cache official docker repo: | |
apt-cache policy docker-ce | |
# Install | |
sudo apt install docker-ce | |
# Check Status: | |
sudo systemctl status docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks bro