Skip to content

Instantly share code, notes, and snippets.

@aedorado
Last active March 6, 2022 11:18
Show Gist options
  • Save aedorado/283fc111670dff300c435838633fc766 to your computer and use it in GitHub Desktop.
Save aedorado/283fc111670dff300c435838633fc766 to your computer and use it in GitHub Desktop.
Install docker on Ubuntu 20.04 LTS
# 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
@michaelnyirenda
Copy link

thanks bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment