`docker-compose` is the docker compose V1's command, which stopped development a few years ago, and docker compose V2's commad is `docker compose`; GitHub will stop converting `docker-compose` to `docker compose` on GHA runner in the near future, etc. I don't think it is worth using `docker-compose` at the moment. <https://github.blog/changelog/2024-04-10-github-hosted-runner-images-deprecation-notice-docker-compose-v1/>