Installing Docker Compose - lmmx/devnotes GitHub Wiki

The easiest way to get Docker Compose is to install Docker Engine. See Installing Docker Engine

Options for installation on Linux are given as:

Linux systems: To install the Docker CLI’s Compose plugins use one of these methods of installation:

Using the convenience scripts offered per Linux distro from the Engine install section. Setting up Docker’s repository and using it to install the compose plugin package.

The latter option is how you do it via Docker Engine. Blink and you'll miss that you just installed Compose!

Check your installation with:

docker compose version

Docker Compose version v2.6.0