Open sarayourfriend opened 3 months ago
Not that it justifies not upgrading (we definitely should upgrade to v3), I should note that this warning does not appear as of Docker version 25.0.5, build 5dc9bcc and Docker Compose version v2.24.5.
I'm on Docker Compose version 2.26.1 and Docker version 26.0.0, build 2ae903e86c and see it every time I run our compose stack.
Interesting, I don't see it on Docker version 26.1.0, build 9714adc
and compose version 2.24.6
.
This is almost certainly dependent only on the compose plugin version, not Docker, and you're both running older versions than me or @krysal who both see this warning.
Current Situation
All Openverse docker compose commands emit the following warning:
Suggested Improvement
Now that we've moved to Docker compose v2, we can update to the latest compose file format.
Refer to https://docs.docker.com/compose/compose-file/compose-versioning/ and https://docs.docker.com/compose/compose-file/ for information on changes between version 2 and the most recent compose file specification.
Benefit
Remove the warning and stop using EOL compose file format.
Additional context
Due to the complexity and far-reaching implications of this change (local development as well as CI), this issue is staff only.
Priority is medium due to the tediousness of the
version is obsolete
warning on every compose command in the monorepo.