Skip to main content

Convert 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.0a4.tar.gz (2.8 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.0a4-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for compose-to-rancher-0.1.0a4.tar.gz
Algorithm Hash digest
SHA256 c9c76cdc45d687631b70f7c232e3835287c972a302c7f04d1df2ed780b8ef09b
MD5 d085f22ea216a7be90a2954b12d834a2
BLAKE2b-256 fd97c5d6b2573a306efeb2341c0b05695683a02dd41dc68ccb995041a4b1bb68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for compose_to_rancher-0.1.0a4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 da30d7a08cb6d276a4ead50c2e089d45a0ecaf47e94d5ce58739cf99883ad609
MD5 f3257170f3614fc9f51d86928fcfd3d2
BLAKE2b-256 e6fc080c4d2757d7e5532dbc9f01e7f6b1c085125debda3a25d30cc19e2d3d6f

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