Docker Compose and dependencies #689
Replies: 5 comments 2 replies
-
Regarding 2), this would only be required for users that consume the compose modules, correct? And it won't be necessary anymore, once the new Docker version is released, correct? In this case, I'd propose doing 2), with the addition of marking the compose module as an |
Beta Was this translation helpful? Give feedback.
-
First of all, I'm deeply sorry that the PR that originally intended to make working with As already commented in #646 I think moving it to a new module is the right step also because this keeps extra maintenance compared to the extra branch reasonable. Also with something like that already in place other modules might follow in the future which could be nice as well? Generally I hope that the Docker guys at some point move to a proper |
Beta Was this translation helpful? Give feedback.
-
Both #706 and #650 were merged and released in PTAL at the release notes there, as we only need to replace Docker, removing a big amount of replacements (still needed if you use the compose module). |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I think we can close this discussion, thanks all for participating! |
Beta Was this translation helpful? Give feedback.
-
In the light of the amount of issues we received for the latest 0.16.0 release (#629 #634 #669 #687), where we introduced the native support for Docker Compose, including a bunch of transitive dependencies plus a replace directive using and old version of Docker, we open this discussion to debate where to go next with compose.
My first idea is to decouple code compose to a separate Go module (see #646), but we are trapped with a dependency version on the old Docker version. Please see our install instructions, the changelog, and docker/compose#9946 (comment) for further details.
I'm not really sure how much is the compose code used, but we are penalising regular users with compose dependencies. TBH, I did not consider how dependencies would impact downstream consumers when reviewing #476, the PR adding native compose support, but it should have been done there. Nevertheless, we have a few options, that I'd like to discuss here:
native-compose
branch with the very same code as main, which we would maintain and rebase/merge with current main for users that want to experiment with native compose.@baez90 @hhsnopek @testcontainers/oss-maintainers, I'd like to specially get your feedback on this 🙏 Feel free to comment here.
2 votes ·
Beta Was this translation helpful? Give feedback.
All reactions