Migrate to Docker Compose V2
There are currently two applications for working with Docker Compose.
docker-compose – this is the original standalone Docker orchestration application.
docker compose – is the second option is a newer project that integrates Compose with the main Docker project. It is essentially a v2 branch of the docker/compose repository.
"From July 2023 Compose V1 stopped receiving updates. It's also no longer available in new releases of Docker Desktop. Compose V2 is included with all currently supported versions of Docker Desktop."