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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size dc2dr-0.2.0-py2.py3-none-any.whl (5.5 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size dc2dr-0.2.0.tar.gz (13.9 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for dc2dr-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a91c8ebbe54a1f9c93e2201032864b0b6b1135b678ab3618b2b31996289303b5 |
|
MD5 | 6e99a19f8f267062b0d1599157c039db |
|
BLAKE2-256 | 484fcb6c21bc8af0152e2089bf8a198321854f0a844faa052383b77cd8c745b3 |