Last active
September 2, 2020 02:08
-
-
Save josefmtd/e121e49c463907b2e267d997a23dc508 to your computer and use it in GitHub Desktop.
Installing Docker Engine and Docker Compose in Ubuntu Focal Fossa 20.04
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
#!/bin/bash | |
apt update | |
apt upgrade -y | |
apt install python3-pip apt-transport-https gnupg-agent software-properties-common curl ca-certificates -y | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" | |
apt install docker-ce docker-ce-cli containerd.io -y | |
usermod -aG docker $USER | |
pip3 install docker-compose | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment