A converter for various docker cluster formats
Project description
container-transform
container-transform is a small utility to transform various docker container formats to one another.
Currently, container-transform can parse and convert ECS task definitions and fig configuration files. Any missing required parameters are printed to STDERR.
Quickstart
$ cat fig.yml | container-transform -v [ { "memory": 1024, "image": "postgres:9.3", "name": "db", "essential": true }, { "memory": 128, "image": "redis:latest", "name": "redis", "essential": true }, { "name": "web", "memory": 64, "command": [ "uwsgi", "--json", "uwsgi.json" ], "environment": [ { "name": "AWS_ACCESS_KEY_ID", "value": "AAAAAAAAAAAAAAAAAAAA" }, { "name": "AWS_SECRET_ACCESS_KEY", "value": "1111111111111111111111111111111111111111" } ], "essential": true } ] Container db is missing required parameter "cpu". Container redis is missing required parameter "cpu". Container web is missing required parameter "image". Container web is missing required parameter "cpu".
Installation
To install the latest release, type:
pip install container-transform
To install the latest code directly from source, type:
pip install git+git://github.com/ambitioninc/container-transform.git
Documentation
Full documentation is available at http://container-transform.readthedocs.org
License
MIT License (see LICENSE)
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 container_transform-0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaced58d4d531b6928e3439456727b9442d98ae77da43fa61d998e487497c0aa |
|
MD5 | ec75a7f70f77db2acbc6b1f2e9f417a5 |
|
BLAKE2b-256 | dc4ac613ec66cd7417f467d5e2e73b1d342f8f4f322dab9a02538bd58619972f |