Yes, maybe better to open a new post if you have different issue. Anyway, I guess you missed latest changes of Docker Compose Docker Compose overview | Docker Docs And some more information Migrate to Compose V2 | Docker Docs
You should be able to run docker compose instead of docker-compose