Skip to content
/ rockerc Public
generated from blooop/python_template

A wrapper around rocker that looks for a rocker-compose.yaml file and passes those arguments to rocker

License

Notifications You must be signed in to change notification settings

blooop/rockerc

Repository files navigation

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.

About

A wrapper around rocker that looks for a rocker-compose.yaml file and passes those arguments to rocker

Resources

License

Stars

Watchers

Forks

Packages

No packages published