Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Buildah

$ buildah Official Med Risk
Containers · Cloud & Infra · Apache-2.0 · linux

Buildah (buildah) builds OCI and Docker images on Linux without a background daemon. It accepts both standard Dockerfiles (buildah bud) and imperative shell-driven container assembly (from, run, commit), while buildah inspect emits native JSON metadata.

FCRS-1.0 Score
74 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
https://github.com/containers/buildah/blob/main/install.md
CLI vs MCP Decision CLI Only

buildah operates directly on Linux containers/storage and user namespaces on the build host; MCP is not applicable.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Supports --json on images/containers and JSON output on buildah inspect, though there is no --dry-run on bud or push.

  • buildah images --json and buildah inspect emit JSON
  • Non-interactive Cobra CLI flags
Trust & Safety 19 / 25

Daemonless and rootless-capable on Linux, avoiding a privileged Docker daemon, though builds execute arbitrary Containerfile commands.

  • No persistent root daemon required when configured with subuid/subgid
  • No --dry-run preview on bud or push
Setup & Portability 8 / 15

Linux-only natively (requires Linux namespaces, overlayfs/fuse-overlayfs, and subuid/subgid); no native macOS or Windows binary.

  • Requires Linux kernel namespaces; macOS/Windows users must run inside a Linux VM
Utility & Efficiency 12 / 15

Great for daemonless CI pods (e.g. Kubernetes/OpenShift) and scriptable minimal image assembly without Dockerfiles.

  • Supports both Containerfile/Dockerfile (bud) and from/copy/commit scripting
Maintenance & Lineage 9 / 10

Maintained by the Containers organization (containers/buildah) under Apache-2.0.

  • Official containers/buildah repository
Docs & Verifiability 7 / 10

Detailed manpages and install docs in GitHub, though rootless storage troubleshooting can be distro-specific.

  • Manpages at github.com/containers/buildah/tree/main/docs

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Reads registry auth from ${XDG_RUNTIME_DIR}/containers/auth.json or ~/.docker/config.json.

Side Effects
Read-Only Local Write Remote Write Destructive
Cost & Quotas

100% free and open-source (Apache-2.0).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Buildah Agent Rules
- Use `buildah images --json` and `buildah inspect` for local read-only checks.
- Remember `buildah` is Linux-native and requires user-namespace (`subuid`/`subgid`) support when rootless.
- Never run `buildah rmi --all` or `buildah push` without explicit confirmation.

Agent-Ready Command Recipes

Safe Read-Only Queries

List local OCI images as JSON
buildah images --json

Returns locally stored images, IDs, tags, and sizes as structured JSON.

Inspect an image or working container in JSON
buildah inspect --type image alpine:latest

Prints full OCI image manifest and config JSON from local storage.

Controlled Writes & Previews

Build an OCI image from a Containerfile without a daemon
buildah bud --platform linux/amd64 -t localhost/app:dev .

Builds the image locally into containers/storage without pushing to any remote registry.

Strengths for Agents

  • + Daemonless OCI image builds ideal for CI containers and restricted Linux runners.
  • + buildah images --json and buildah inspect provide structured local metadata.
  • + Supports both Dockerfile/Containerfile builds and imperative shell-based image construction.

Caveats & Pitfalls

  • ! Linux-only natively; cannot run directly on macOS or Windows without a Linux VM.
  • ! Rootless builds require proper subuid/subgid and fuse-overlayfs host configuration.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI