compose
compose copied to clipboard
docker-compose - dry-run - json output
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
https://github.com/gabrieldemarmiesse/python-on-whales/issues/448
It would be great if machine-readable output (JSON streams?) could be enabled for all commands.
I created https://github.com/docker/compose/pull/11478 to implement a general JSON stream progress output. That should fix this.