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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for compose-to-rancher-0.1.0a3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b230fee2e98897a231e34d0d6c5b9ebe5e4827a039ee4c99585363875a020197 |
|
MD5 | 707b7f8efa08e607df0424c4b04cb941 |
|
BLAKE2b-256 | 8da2235a6a6cb9163082d329c2a1f4604bb5b16765d83747f3c4c51c32db527c |
Close
Hashes for compose_to_rancher-0.1.0a3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 978ce010293acb18566d480bb5da586c27bec2b045014ef0417cdb9bce1724c3 |
|
MD5 | cb539581bdfef4a738b45c0e49969470 |
|
BLAKE2b-256 | beb9209a6f9224df5a849e1add7b1fb98d788150fd54140b7f572180aeb699a2 |