Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

alexhumphreys/dc2dr

Repository files navigation

dc2dr

NO LONGER MAINTAINED

See this fork for a more up to date version: https://github.com/cgq-qgc/dc2dr

image

image

Documentation Status

Updates

Convert Docker Compose to Docker Run Commands

Features

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

Usage

From this dir you can run:

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

Or from in a python script:

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

Credits

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

About

ARCHIVED Convert Docker Compose to Docker Run Commands: see this fork instead:

Resources

License

Stars

Watchers

Forks

Packages

No packages published