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

Breaking change in docker-compose-plugin 2.21.0 #421

Closed
darioseidl opened this issue Sep 8, 2023 · 3 comments
Closed

Breaking change in docker-compose-plugin 2.21.0 #421

darioseidl opened this issue Sep 8, 2023 · 3 comments

Comments

@darioseidl
Copy link

darioseidl commented Sep 8, 2023

After I upgraded the docker compose plugin to 2.21.0 (2.21.0-1~debian.11~bullseye), the gradle docker "compose up" task stopped working for me.

I'm getting an error

Cause: expected '<document start>', but found '{'

I assume this is because of this breaking change in the docker-compose-plugin:
https://docs.docker.com/compose/release-notes/#2210

The format of docker compose ps and docker compose ps --format=json changed to better align with docker ps output. See compose#10918open_in_new.

Apparently, docker compose ps --format json returns a JSON stream instead of a JSON array now.

@augi
Copy link
Member

augi commented Sep 11, 2023

Hi, thank you for the report! 👍 Could you please share a stacktrace so we could better identify the issue? 🙏

@augi
Copy link
Member

augi commented Sep 11, 2023

Addressed in 0.17.5 release.

@augi augi closed this as completed Sep 11, 2023
@darioseidl
Copy link
Author

Thanks for the quick fix! I tried 0.17.5, and it's working with compose 2.21.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants