Skip to main content

dc2dr

https://img.shields.io/pypi/v/dc2dr.svg https://img.shields.io/travis/alexhumphreys/dc2dr.svg 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.

History

0.1.0 (2016-08-02)

  • First release on PyPI.

Metadata

Release files for dc2dr 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dc2dr 0.4.0
File Size Uploaded Provenance Actions
dc2dr-0.4.0.tar.gz 14.2 kB Without provenance Details for dc2dr-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dc2dr 0.4.0
File Interpreter ABI Platform Actions
dc2dr-0.4.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for dc2dr-0.4.0-py2.py3-none-any.whl

Total release size: 19.8 kB

Release files / dc2dr-0.4.0.tar.gz

Download URL dc2dr-0.4.0.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4b79f34309710a80ac5b869a19e21dba0a75d817025310602df5f65b29b6449b
BLAKE2b-256 checksum
How to use checksums
1f5afb1f79b0758168866f54bad79b06e69cec263e129c24118eb902bd9983e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dc2dr-0.4.0-py2.py3-none-any.whl

Download URL dc2dr-0.4.0-py2.py3-none-any.whl
Size 5.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
23e10bb22df9f52f0ae341208813ef0f4cb8a7bd352eec13288e8fc3eec065bf
BLAKE2b-256 checksum
How to use checksums
87e38bad220adaa981d1c06541f97c094787ec4bb07107c8803c6d337c8bf3f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for dc2dr 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page