Install
sudo suInstall the Compose plugin
https://docs.docker.com/compose/install/linux/#install-using-the-repository
apt update
apt install -y docker-compose-plugindocker compose versionDocker Compose version v2.15.1Install the Compose standalone
Compose standalone
Note that Compose standalone uses the
-composesyntax instead of the current standard syntaxcompose.
For example typedocker-compose upwhen using Compose standalone, instead ofdocker compose up.
curl -SL https://github.com/docker/compose/releases/download/v2.15.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose