Our docs and scripts should be updated to use the new docker compose subcommand. A formal investigation is still needed, but there doesn't seem to be any breaking changes for our deployments, and through my experience deploying with customers, simply removing the hyphen to use v2 (i.e. replace all instances of docker-compose with docker compose) does the trick using Docker Engine without separately installing Docker Desktop or the Docker Compose plugin.
Docker Compose v2 graduated to GA earlier this year and Docker Compose v1 was deprecated (see Announcing Compose V2 General Availability - Docker).
Our docs and scripts should be updated to use the new
docker compose
subcommand. A formal investigation is still needed, but there doesn't seem to be any breaking changes for our deployments, and through my experience deploying with customers, simply removing the hyphen to use v2 (i.e. replace all instances ofdocker-compose
withdocker compose
) does the trick using Docker Engine without separately installing Docker Desktop or the Docker Compose plugin.See also Compose command compatibility with docker-compose | Docker Documentation.