Skip to main content

Convert Docker Compose to Docker Run Commands

Project description

dc2dr Documentation Status Updates

Convert Docker Compose to Docker Run Commands


Takes a docker-compose file, gives back a list of docker run commands.

The supported docker-compose keys are:

  • depends_on

  • links

  • ports

  • expose

  • environment

  • command

  • image


>From this dir you can run:

` python ./dc2dr/ tests/example-compose.yml `

Or from in a python script:

` from dc2dr import parser run_commands = parser.run_commands('path/to/compose.yml') `


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.


0.1.0 (2016-08-02)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dc2dr-0.4.0.tar.gz (14.2 kB view hashes)

Uploaded source

Built Distribution

dc2dr-0.4.0-py2.py3-none-any.whl (5.5 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page