Skip to content

Instantly share code, notes, and snippets.

@josefmtd
Last active September 2, 2020 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josefmtd/e121e49c463907b2e267d997a23dc508 to your computer and use it in GitHub Desktop.
Save josefmtd/e121e49c463907b2e267d997a23dc508 to your computer and use it in GitHub Desktop.
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