Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installing Docker Engine and Docker Compose in Ubuntu Focal Fossa 20.04
#!/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
You can’t perform that action at this time.