Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker compose ps now fails due to unknown --orphans flag with 2.23 or earlier #43710

Closed
wilkinsona opened this issue Jan 7, 2025 · 2 comments
Assignees
Labels
type: regression A regression from a previous release
Milestone

Comments

@wilkinsona
Copy link
Member

This is due to the change made for #40139 which has inadvertently raised the minimum supported version of Docker Compose to 2.24. We document that 2.2 is the minimum supported version. We might get away with just updating the docs in 3.4.x, but for 3.3.x I think we should rework the fix or perhaps revert it entirely if there isn't an alternative approach.

@wilkinsona wilkinsona added the type: regression A regression from a previous release label Jan 7, 2025
@wilkinsona wilkinsona added this to the 3.3.x milestone Jan 7, 2025
@wilkinsona
Copy link
Member Author

wilkinsona commented Jan 7, 2025

We may be able to vary the flags that we pass in based on Docker Compose's version. We could parse the version from the output of the version command:

$ docker compose version --short
2.17.2
$ docker compose version --format json
{"version":"v2.17.2"}

@philwebb philwebb self-assigned this Jan 7, 2025
@philwebb
Copy link
Member

philwebb commented Jan 8, 2025

Looks like 2.24.0 introduced support. Commit docker/compose@caa0cbb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: regression A regression from a previous release
Projects
None yet
Development

No branches or pull requests

2 participants