Motivation
- Docker Compose v2 offers more features that we can make use of and create a better developer experience.
- Docker Compose v1 will no longer be receiving updates after June 2023 so we should deprecate the usage of it
Notable features
The challenges
- dual support of v1 and v2:
- legacy support means tougher feature parity and more testing needed for something that is in fact deprecated
- I'd like to drop it, but this means compose contains a breaking change
- so what is the next major release for
testcontainers-python ? 🙂
- docker compose v2 is not a python package (it's written in golang and I'm not sure I'm up for making a binding for this)
- so need to agree on a sensible way to check this on instantiation of a
DockerCompose object.
- Not hard, just needs some reviews and is a breaking change
Final thoughts
I'm happy to pick this up, in fact I have a local copy with a bunch of goodies, just need some community support in how to introduce this change.
Also since this is likely a breaking change for the compose plugin, your thoughts on how to version this would be very welcome @tillahoffmann 🙏
Motivation
Notable features
docker compose ps --format jsoncan help us shortcut the effort on many useful thingscompose_file_name=[]orNoneby default #259 may have been fixed in v2 but any fixes might be better implemented for v2testcontainersto start/stop these containersThe challenges
testcontainers-python? 🙂DockerComposeobject.Final thoughts
I'm happy to pick this up, in fact I have a local copy with a bunch of goodies, just need some community support in how to introduce this change.
Also since this is likely a breaking change for the compose plugin, your thoughts on how to version this would be very welcome @tillahoffmann 🙏