Install Docker Package, docker-compose vs docker compose

Hi,
Is there any reason to install docker-compose from Releases · docker/compose · GitHub like separate binary? Why docker compose command installed from
https://download.docker.com/linux/centos/docker-ce.repo is not enough? Or is it only for the learning goals? But it seems obsolete. So on the github we can see " For a smooth transition from legacy docker-compose 1.xx, please consider installing compose-switch to translate docker-compose ... commands into Compose V2’s docker compose"

Hi alexeysmail,

Please refer this link to understand more on docker-compose.

docker-compose

Thank you.

Hi unnibb208,
My point is that docker-ce installation includes “docker compose”. And we don’t need install “docker-compose” from github. Or may be I don’t know the reason.

Hi alexeysmail,

Yup, you are right, please ignore docker compose installation in this case.

Thank you.

I can’t ignore it ). As the lab checks the presence of “/usr/bin/docker-compose”.