Docs using docker compose v2

Is there a reason why the gitea docs are using docker-compose v2 e.g.: