Converts commands between docker run and docker compose.
APACHE-2.0 License
.. image:: https://gitlab.com/hmajid2301/composerisation/badges/master/pipeline.svg :target: https://gitlab.com/hmajid2301/composerisation :alt: Pipeline Status
.. image:: https://gitlab.com/hmajid2301/composerisation/badges/master/coverage.svg :target: https://gitlab.com/hmajid2301/composerisation :alt: Coverage
.. image:: https://img.shields.io/pypi/l/composerisation.svg :target: https://pypi.org/project/composerisation/ :alt: PyPI Project License
.. image:: https://img.shields.io/pypi/v/composerisation.svg :target: https://pypi.org/project/composerisation/ :alt: PyPI Project Version
A CLI tool used to convert between docker-compose to normal Docker CLI commands.
.. image:: images/logo_background.png
Warning: This project is still in beta.
.. code-block:: bash
pip install composerisation composerisation --help
Usage: composerisation [OPTIONS]
Converts docker-compose files to Docker comamnds.
Options: -i, --input-file TEXT Path to file to convert from docker-compose to Docker. [required]
-l, --log-level [DEBUG|INFO|ERROR|CRITICAL] Log level for the script. --help Show this message and exit
.. code-block:: bash
$ composerisation -i docker-compose.yml
You can also use the docker image to convert between docker-compose and Docker cli.
.. code-block :: bash
docker run -v ${PWD}/tests/data/1.yml:/app/docker-compose.yml composerisation
We support all commands specified in the docker-compose reference file version 3.8 here <https://docs.docker.com/compose/compose-file/#reference-and-guidelines>
_.
Besides from the config options defined below.
Unsupported config options:
Unsupported config options:
docker pull
, when using imagesYou can find the changelog here <https://gitlab.com/hmajid2301/composerisation/blob/master/CHANGELOG.md>
_.
here <https://github.com/DataDog/docker-compose-example>
_wales <https://jsfiddle.net/wales/2azkLnad/>
_API Platform <https://api-platform.com/>_
.