How To Install Docker Compose on Ubuntu 20.04

This How-To will describe how to install Docker Compose on Ubuntu 20.04.


Install Docker Compose

Run this command to download the current stable release of Docker Compose:

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

Apply executable permissions to the binary:

sudo chmod +x /usr/local/bin/docker-compose

To verify that the installation was successful, you can run:

docker-compose --version


docker-compose version 1.29.2, build 5becea4c