Skip to main content

Docker Compose V2 to Rancher compatible Docker Compose V1

Project description

Convert Docker Compose V2 docker-compose.yml to a Rancher compatible Docker Compose V1 file, by default in docker-compose-v1.yml.


  • Install:

pip install compose-to-rancher
  • You would have a command:

compose-to-rancher
  • You just have to run that command in a directory with a Docker Compose V2 file docker-compose.yml and it will generate a Rancher compatible Docker Compose V1 file docker-compose-v1.yml

  • If you want to customize the you can see the command help:

$ compose-to-rancher --help

usage: compose-to-rancher [-h] [-f FILE] [-o OUTPUT]

Convert a docker-compose.yml file version 2 to a docker-compose-v1.yml version
1, compatible with Rancher

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  the input docker-compose.yml file in version 2
                        (default: docker-compose.yml)
  -o OUTPUT, --output OUTPUT
                        the output to write a docker-compose.yml version 1
                        compatible with Rancher (default: docker-
                        compose-v1.yml)

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

compose-to-rancher-0.1.0a2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

compose_to_rancher-0.1.0a2-py2.py3-none-any.whl (4.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file compose-to-rancher-0.1.0a2.tar.gz.

File metadata

File hashes

Hashes for compose-to-rancher-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 553a36fbdd401b7cd07303c9b0298b0ef96e76b74928e8925b9772aba7be5149
MD5 76e3061c4aafc23e1785f6ae0f80e2f6
BLAKE2b-256 4b5a8a852d9fd511d356eeed5b817fdbd92193cd2b8d6a6d87061ff249af63db

See more details on using hashes here.

File details

Details for the file compose_to_rancher-0.1.0a2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for compose_to_rancher-0.1.0a2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dbab74261b395ffebaa5b06c05634fb2cad84727bb21b6c6fa4c07718cc847f3
MD5 a0d3ce3c36c1124992a6e8ca2ba59a5f
BLAKE2b-256 b48ed5c43ef82f92b46a7176d187857f6a38fefa753da3fbba20a980184150e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page