A tool to parse rockerc.yaml files and pass on the arguments onto rocker
Project description
rockerc
Continuous Integration Status
Installation
pip install rockerc
Usage
rockerc #searches for rockerc.yaml and passes those arguments to rocker
Motivation
Rocker is an alternative to docker-compose that makes it easier to run containers with access to features of the local environment and add extra capabilities to existing docker images. However rocker has many configurable options and it can get hard to read or reuse those arguments. This is a naive wrapper that read a rockerc.yaml file and passes them to rocker. There are currently no plans to integrate docker-compose like functionalty directly into rocker so I made this as a proof of concept to see what the ergonomics of it would be like.
Caveats
I'm not sure this is the best way of implementing rockerc like functionality. It might be better to implmented it as a rocker extension, or in rocker itself. This was just the simplest way to get started. I may explore those other options in more detail in the future.
TODO
Add support for agument overriding/passthrough.
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
File details
Details for the file rockerc-0.2.0.tar.gz
.
File metadata
- Download URL: rockerc-0.2.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca558994e9cbbeab726cd262ce76426d67ed6c99c225c80e6c9950739d409e94 |
|
MD5 | 029979728def96bbce92913dddc21776 |
|
BLAKE2b-256 | fc2f657a512dfab6460e8d6933e5534e847933555edf3f35364f164f7a4d93a7 |
File details
Details for the file rockerc-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: rockerc-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2f786f745d47cc98d951a68cceb8f1bafd9de77b819d0e3e76e4c741bacd6d7 |
|
MD5 | 17d3403eb356d01b5b150b646bc66a0a |
|
BLAKE2b-256 | 0b1036c0cb7ea756f87e71f3ebfc2421f8989f8a7c0e68c95e1b249c23274d92 |