Convert Docker Compose to Docker Run Commands
Project description
dc2dr
Convert Docker Compose to Docker Run Commands
Free software: MIT license
Documentation: https://dc2dr.readthedocs.io.
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.
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
Built Distribution
File details
Details for the file dc2dr-0.4.0.tar.gz
.
File metadata
- Download URL: dc2dr-0.4.0.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b79f34309710a80ac5b869a19e21dba0a75d817025310602df5f65b29b6449b |
|
MD5 | 736840469a24f08b9784541961ba0252 |
|
BLAKE2b-256 | 1f5afb1f79b0758168866f54bad79b06e69cec263e129c24118eb902bd9983e8 |
File details
Details for the file dc2dr-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: dc2dr-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23e10bb22df9f52f0ae341208813ef0f4cb8a7bd352eec13288e8fc3eec065bf |
|
MD5 | db202350c83a709e69a852232f86b00a |
|
BLAKE2b-256 | 87e38bad220adaa981d1c06541f97c094787ec4bb07107c8803c6d337c8bf3f1 |