dc2dr-0.4.0
توضیحات
Convert Docker Compose to Docker Run Commands
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dc2dr-0.4.0 |
| نام | dc2dr |
| نسخه کتابخانه | 0.4.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alex Humphreys |
| ایمیل نویسنده | humphreys.a@gmail.com |
| آدرس صفحه اصلی | https://github.com/alexhumphreys/dc2dr |
| آدرس اینترنتی | https://pypi.org/project/dc2dr/ |
| مجوز | MIT license |
===============================
dc2dr
===============================
.. image:: https://img.shields.io/pypi/v/dc2dr.svg
:target: https://pypi.python.org/pypi/dc2dr
.. image:: https://img.shields.io/travis/alexhumphreys/dc2dr.svg
:target: https://travis-ci.org/alexhumphreys/dc2dr
.. image:: https://readthedocs.org/projects/dc2dr/badge/?version=latest
:target: https://dc2dr.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/alexhumphreys/dc2dr/shield.svg
:target: https://pyup.io/repos/github/alexhumphreys/dc2dr/
:alt: Updates
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.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
0.1.0 (2016-08-02)
------------------
* First release on PyPI.
نیازمندی
| مقدار | نام |
|---|---|
| >=6.0 | Click |
| ==3.11 | PyYAML |
| ==0.1.2 | pytsort |
نحوه نصب
نصب پکیج whl dc2dr-0.4.0:
pip install dc2dr-0.4.0.whl
نصب پکیج tar.gz dc2dr-0.4.0:
pip install dc2dr-0.4.0.tar.gz