Exports the flags passed to a docker run call to a variety of formats.
This is a work in progress
go build- docker
docker-compose.yml3.7: Docs - ecs
task-definition.json: Docs - ecs-cfn CloudFormation
AWS::ECS::TaskDefinition: Docs - nomad
job.nomadHCL: Docs - nomad-json
job.json: Docs - kubernetes
deployment.yml: Use kompose
Warning: not all formats will support all flags. Warnings will be emitted on stderr. Some flags may be validated if they contain units or formatting of some sort, which may result in errors being output as well.
docker-run-export run --dre-project derp --dre-format compose --add-host "somehost:162.242.195.82" --cap-add DERP --cpus 5 --expose 5:5 alpine:latest key echo "hi derp"Non docker run supported flags:
dre-project: the project namedre-format: the format to export as