Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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)

Release History

This version
History Node

0.1.0a4

History Node

0.1.0a3

History Node

0.1.0a2

History Node

0.1.0a1

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
compose_to_rancher-0.1.0a4-py2.py3-none-any.whl
(4.7 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Aug 26, 2016
compose-to-rancher-0.1.0a4.tar.gz
(2.8 kB) Copy SHA256 Hash SHA256
Source None Aug 26, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting