I’m trying to check whether docker-compose is present using the approach described here.
Seeing the following output when executing:
$ docker compose version
Docker Compose version v2.12.0
however the following command results in a different version:
$ docker-compose --version
docker-compose version 1.29.2, build 5becea4c
Is this the expected behavior and/or how to explain the discrepancy?