compose-cli
compose-cli copied to clipboard
docker compose convert to docker engine api json
(Not sure the format for feature requests) We interface with microsoft iotedge which uses deployment jsons that are a super set of the docker engine api.
I would like the ability to do docker compose -f some_custom_deployment.yml convert --format docker-engine
For example HostConfig, CreateOptions, lowercase field names to Pascal (?), any other container create/run capabilities at least would be added to the generated json output.
Important note, I am not asking for compatibility with iotedge deployment manifests. I just would to use a preexisting docker compose->docker engine api tool to do the more scary conversion between the 2 formats. At the moment, I'm basically going to be writing a version of https://github.com/docker/compose/blob/master/compose/service.py to get around this in the meantime, however it would be preferable to use an official tool by docker to do this instead ;)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.