This is due to the change made for https://github.com/spring-projects/spring-boot/issues/40139 which has inadvertently raised the minimum supported version of Docker Compose to 2.24. We document that 2.2 is the minimum supported version. We might get away with just updating the docs in 3.4.x, but for 3.3.x I think we should rework the fix or perhaps revert it entirely if there isn't an alternative approach.
Comment From: wilkinsona
We may be able to vary the flags that we pass in based on Docker Compose's version. We could parse the version from the output of the version command:
$ docker compose version --short
2.17.2
$ docker compose version --format json
{"version":"v2.17.2"}
Comment From: philwebb
Looks like 2.24.0 introduced support. Commit https://github.com/docker/compose/commit/caa0cbbc4b174d92a061c6ac4b591dc704988647