container-runner
v2.0.1Run and manage OCI containers and pods with Podman rootless mode. Use when launching containers, managing pods, building images.
Installation
Please help me install the skill `container-runner` from SkillHub official store.
npx skills add ckchzh/container-runner
Container Runner
Developer workflow automation tool for initializing, building, testing, and deploying projects from the command line.
Commands
| Command | Description |
|---|---|
init |
Initialize a new project in the current directory |
check |
Run lint, type check, and tests |
build |
Build the project |
test |
Run the full test suite |
deploy |
Show deploy pipeline guide (build → test → stage → prod) |
config |
View or edit configuration |
status |
Check overall project health |
template |
Generate a code template for a given type |
docs |
Generate project documentation |
clean |
Remove build artifacts |
help |
Show help and list all commands |
version |
Print current version |
Usage
container-runner <command> [args]
All actions are logged to $DATA_DIR/history.log for auditing.
Data Storage
- Default directory:
~/.local/share/container-runner/ - Override: Set the
CONTAINER_RUNNER_DIRenvironment variable to change the data directory. - Files:
history.log— timestamped log of every command executedconfig.json— project-level configuration (created byconfig)data.log— general data log
Requirements
- Bash 4+ (uses
set -euo pipefail) - No external dependencies or API keys required
- Works on Linux, macOS, and WSL
When to Use
- Bootstrapping a new project — Run
container-runner initto set up the initial project scaffolding in your working directory. - Running quality gates before deployment — Use
container-runner checkto validate code quality with lint, type checks, and tests in one shot. - Building release artifacts — Execute
container-runner buildto compile and package your application for staging or production. - Executing the full test suite — Use
container-runner testduring development or in CI to verify all tests pass. - Deploying to production — Run
container-runner deployto see the recommended deployment pipeline (build → test → stage → prod).
Examples
# Initialize a project in the current directory
container-runner init
# Run all quality checks (lint + type check + tests)
container-runner check
# Build the project
container-runner build
# Run the test suite
container-runner test
# View the deployment pipeline guide
container-runner deploy
# Check project health status
container-runner status
# Generate a code template
container-runner template controller
# Generate project documentation
container-runner docs
# Clean build artifacts
container-runner clean
# Show version
container-runner version
Output
All command output goes to stdout. Redirect to a file if needed:
container-runner status > report.txt
Configuration
Set CONTAINER_RUNNER_DIR to customize where data is stored:
export CONTAINER_RUNNER_DIR=/path/to/custom/dir
Powered by BytesAgain | bytesagain.com | [email protected]