Uh oh!
There was an error while loading. Please reload this page.
Mention Docker 19.03 and its compose file version - and add max_repli… - #10273
Conversation
thaJeztah
commented
Feb 12, 2020
I think the reason for this would be that docker-compose (stand-alone, so not |
SvenDowideit
commented
Feb 12, 2020
that really makes no sense - the 19.03 docker release supported a set of functionality that uses 'version: 3.8' - and there are many compose file things that aren't supported in docker-compose. I'm hoping that whoever is the release manager for 20.03 also has responsibility to make sure that all features that are in that release, are sufficiently documented ..... |
thaJeztah
commented
Feb 12, 2020
I agree it's a bit hairy; both the As to the general issue of the spec being maintained in both locations; ideally, the compose file specification would live in a separate repository (the format is now used by various projects, so having a canonical location for the specification would be good); there's a tracking issue for that here; docker/compose#2089. For documentation, ideally it would be possible to generate the docs directly from the schema (docker/cli#1058) but so far I haven't found a proper solution for that (@SvenDowideit if you run into something that works well for that, I'm all ears 😅) I'll check with @ulyssessouza and @ndeloof to see if a new version of compose with support for the 3.8 schema can be released soon, to unblock this PR. |
ndeloof
commented
Feb 12, 2020
3.8 is on it's way into docker-compose: docker/compose#7217 About schema being duplicated, see docker/compose#7047 |
SvenDowideit
commented
Feb 12, 2020
think of it this way - for the last 9+months, the compose file docs have been broken for swarm users, as the v3.8 format was released then. The sad reality that docker-compose lagged in its support doesn't change the fact that v3.8 was released a long time ago. |
SvenDowideit
commented
Feb 12, 2020
so to quote @ndeloof from 7047: that really strongly suggests that the documentation should also deal with that information, and not block on the secondary docker-compose version. the "updating it right now would break those examples for docker-compose users" just goes to show how utterly broken things are - examples shouldn't autoupdate to use the latest version, they should really indicate the minimum version that the example is tested for.... which also would show the user how old that feature is, and that it may well be stale. |
ulyssessouza
commented
Apr 16, 2020
@SvenDowideit LGTM. |
…cas_per_node Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
5d23d8f to
d5e7a26ComparethaJeztah
commented
Apr 17, 2020
I rebased; should be good to go now 👍 |
Deploy preview for docsdocker ready! Built with commit d5e7a26 |
1 similar comment
Deploy preview for docsdocker ready! Built with commit d5e7a26 |
it looks to me like 19.03's effect on swarm more compose wasn't documented.
this is an attempt at starting