Last active
July 27, 2020 08:24
-
-
Save miwnwski/e7a8ec6f49f619f6969c0575eba9eae7 to your computer and use it in GitHub Desktop.
Install Docker Engine CE on Ubuntu 20.04 focal fossa
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
# Grabbed from https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04 | |
sudo apt update | |
# Install a few prerequisite packages which let apt use packages over HTTPS | |
sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common | |
# Add the GPG key for the official Docker repository to your system | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
# Add the Docker repository to APT sources | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" | |
sudo apt update | |
# Make sure you are about to install from the Docker repo instead of the default Ubuntu repo | |
apt-cache policy docker-ce | |
sudo apt install docker-ce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment