fix: support both docker-compose v1 and docker compose v2#22581
Merged
Conversation
Add fallback to support Docker Compose V2 plugin format when standalone docker-compose binary is not available. Signed-off-by: coldenchen <[email protected]>
stonezdj
approved these changes
Nov 24, 2025
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #22581 +/- ##
===========================================
+ Coverage 45.36% 65.85% +20.48%
===========================================
Files 244 1073 +829
Lines 13333 116095 +102762
Branches 2719 2931 +212
===========================================
+ Hits 6049 76453 +70404
- Misses 6983 35405 +28422
- Partials 301 4237 +3936
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
wy65701436
enabled auto-merge (squash)
November 26, 2025 05:57
vg006
pushed a commit
to vg006/harbor
that referenced
this pull request
Dec 4, 2025
…2581) fix: resolve 'docker-compose: command not found' error Add fallback to support Docker Compose V2 plugin format when standalone docker-compose binary is not available. Signed-off-by: coldenchen <[email protected]> Co-authored-by: coldenchen <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add fallback to support Docker Compose V2 plugin format when standalone docker-compose binary is not available.
Thank you for contributing to Harbor!
Comprehensive Summary of your change
Issue being fixed
Fixes #(issue)
Please indicate you've done the following: