Created
May 16, 2021 21:20
-
-
Save dazeb/51008cf2b3fcde0245dcdd95471c48d0 to your computer and use it in GitHub Desktop.
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
## **Docker Install - Ubuntu 20.04** | |
16/05/2021 22:15 | |
``` | |
start | |
##Install prerequisites | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common | |
##install Docker GPG keys | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
##Add to repository | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" | |
##Update APT | |
sudo apt update | |
##Install Docker | |
sudo apt install docker-ce | |
##Add current user to docker group | |
sudo usermod -aG docker ${USER} | |
``` | |
**2 Line Install** | |
``` | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sudo sh get-docker.sh | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment