Uh oh!
There was an error while loading. Please reload this page.
compose: add build.extra_hosts to v3.9 schema - #2517
Conversation
thaJeztah
commented
May 10, 2020
This is not currently used by the CLI, but can be used by docker compose to bring parity on this feature with the compose v2.4 schema. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
f37a81b to
0c5f97eCompareCompose canonical schema should be https://github.com/compose-spec/compose-spec/blob/master/schema/config_schema_v3.9.json and such change should only take place after a public proposal to the compose-spec community. Please note re-introducing v2 attributes has been discussed on compose-spec/compose-spec#12 |
thaJeztah
commented
May 11, 2020
@ndeloof what I understood is that the current 3.9 spec was used as the transition to make compose-spec the canonical place because it was already worked on for the upcoming 20.03 release; if compose-spec is the canonical place, should this repository vendor the spec from that location? (also this means we have a release blocker for 20.03, pending #2503 |
agners
commented
May 14, 2020
@thaJeztah@ndeloof this is utterly frustrating for outside contributors. I created a merge request months ago adding And now, within 4 days other properties make it in directly into CLI's compose spec? So now compose-spec essentially forked?? |
ndeloof
commented
May 14, 2020
https://github.com/compose-spec/compose-go is the exact same codebase as docker/cli for compose file loading and mdel (this is a git extract, including history). CLI should be updated to adopt compose-go and throw avoid code to diverge like this. This is more a question of finding the right timing vs CLI release schedule. |
agners
commented
Jun 19, 2020
@ndeloof@thaJeztah since we won't adopt compose-go in time for 20.03, could we then not just merge #2206? I would mean less divergence from compose-spec... |
ndeloof
commented
Jun 19, 2020
compose-spec is going to re-introduce all v2 attributes in the schema by approval of compose-spec/compose-spec#12 |
burka
commented
May 14, 2024
For anyone searching like me: It's solved in Version 3.9 #2517 - you can add |
fixes#1293
This is not currently used by the CLI, but can be used by docker compose to bring parity on this feature with the compose v2.4 schema.
relates to docker/compose#7323
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)