Skip to main content

A tool to parse rockerc.yaml files and pass on the arguments onto rocker

Project description

rockerc

Continuous Integration Status

Ci Codecov GitHub issues GitHub pull-requests merged GitHub release PyPI - Downloads License Python Pixi Badge

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


Download files

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

Source Distribution

rockerc-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

rockerc-0.1.0-py2.py3-none-any.whl (4.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file rockerc-0.1.0.tar.gz.

File metadata

  • Download URL: rockerc-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for rockerc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fe0fd03194d1489b9724b3aa8eb6f6a6eea49b9af4f70f7d44536328088e8996
MD5 2a140ca58110d02aeaf159555f67f2f2
BLAKE2b-256 b02eff2678bba1140180ef6ea54bc3d68321821465f0bea06671507b215de0a4

See more details on using hashes here.

File details

Details for the file rockerc-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: rockerc-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for rockerc-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 db4ad70559f7d325a61e1dd40d3f23cac50aa44601fbc0a3c093dbfb9fa7568b
MD5 696530ca882477529a9862be76628045
BLAKE2b-256 a5357b0965c15322306f79340705b00539e3a7f1d3d04e21b0996eefb497a0bf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page