Install using the repository
-
Set up the repository. Find distro-specific instructions in:
Ubuntu | CentOS | Debian | Raspberry Pi OS | Fedora | RHEL | SLES.
-
Update the package index, and install the latest version of Docker Compose:
-
For Ubuntu and Debian, run:
$ sudo apt-get update $ sudo apt-get install docker-compose-plugin
-
-
Verify that Docker Compose is installed correctly by checking the version.
$ docker compose version Docker Compose version vN.N.N