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 - dry-run - json output #10872

Closed
ITJamie opened this issue Aug 3, 2023 · 2 comments · Fixed by #11478
Closed

docker-compose - dry-run - json output #10872

ITJamie opened this issue Aug 3, 2023 · 2 comments · Fixed by #11478

Comments

@ITJamie
Copy link

ITJamie commented Aug 3, 2023

Description

It would be great if the docker-compose dry-run outputs had a flag to output a json blob at the end of their run with the information about proposed changes (if any).

This would allow for easier wrapping with tooling eg ansible/salt/python-on-whales

gabrieldemarmiesse/python-on-whales#448

@felixfontein
Copy link
Contributor

It would be great if machine-readable output (JSON streams?) could be enabled for all commands.

@felixfontein
Copy link
Contributor

I created #11478 to implement a general JSON stream progress output. That should fix this.

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

Successfully merging a pull request may close this issue.

2 participants