stafli-org / stafli.docs

Documentation for Stafli sub projects
https://stafli.org
GNU General Public License v3.0
0 stars 0 forks source link

Upgrade docker-composer file format version #21

Open lpalgarvio opened 6 years ago

lpalgarvio commented 6 years ago

We are using at the moment the docker-compose file format version 2.0.

Numerous releases have been made, with new additions such as:

Each version has to be compared with docker/libcompose supported versions, a library which is used in many upstream projects, like rancher. If versions are found not to be compatible yet, the new feature additions have to weighted agains't loosing upstream support in contrib projects.

Validate project READMEs agains't the chosen docker-compose file format version.

lpalgarvio commented 6 years ago

docker-compose is supported up to version 2.0 on docker/libcompose. newer versions are not supported yet:

Rancher has same limitations as it uses libcompose:

lpalgarvio commented 6 years ago

Important features in the short term:

Important in the long term:

Nice to have:

Not required in current form / support:

Notes:

https://github.com/docker/compose/issues/1597

lpalgarvio commented 6 years ago

Conclusion:

Upgrade to version 2.3 is recommended, which would add support for:

However, none are really required at the moment and unfortunately would break compatibility with many contrib solutions, so marking as postponed.

CpuID commented 6 years ago

https://github.com/docker/libcompose/pull/507 gets you a good portion of the way to resolving this (at least parsing the version string in docker-compose.yml). It doesn't add the version specific features though.

Leopere commented 5 years ago

It really looks like libcompose is abandoned is there no chance there are any go programmers in here who can understand the spec and just keep it up to date it seems like a huge game breaker to not be cross compatible?