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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file compose-to-rancher-0.1.0a2.tar.gz.
File metadata
- Download URL: compose-to-rancher-0.1.0a2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
553a36fbdd401b7cd07303c9b0298b0ef96e76b74928e8925b9772aba7be5149
|
|
| MD5 |
76e3061c4aafc23e1785f6ae0f80e2f6
|
|
| BLAKE2b-256 |
4b5a8a852d9fd511d356eeed5b817fdbd92193cd2b8d6a6d87061ff249af63db
|
File details
Details for the file compose_to_rancher-0.1.0a2-py2.py3-none-any.whl.
File metadata
- Download URL: compose_to_rancher-0.1.0a2-py2.py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbab74261b395ffebaa5b06c05634fb2cad84727bb21b6c6fa4c07718cc847f3
|
|
| MD5 |
a0d3ce3c36c1124992a6e8ca2ba59a5f
|
|
| BLAKE2b-256 |
b48ed5c43ef82f92b46a7176d187857f6a38fefa753da3fbba20a980184150e0
|