Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Installing Docker Engine and Docker Compose in Ubuntu Focal Fossa 20.04
apt update
apt upgrade -y
apt install python3-pip apt-transport-https gnupg-agent software-properties-common curl ca-certificates -y
curl -fsSL | sudo apt-key add -
add-apt-repository "deb [arch=amd64] focal stable"
apt install docker-ce docker-ce-cli -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