Buildah
$ buildah Official Med RiskBuildah (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.
https://github.com/containers/buildah/blob/main/install.md buildah operates directly on Linux containers/storage and user namespaces on the build host; MCP is not applicable.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --json on images/containers and JSON output on buildah inspect, though there is no --dry-run on bud or push.
buildah images --jsonandbuildah inspectemit JSON- Non-interactive Cobra CLI flags
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-runpreview onbudorpush
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
Great for daemonless CI pods (e.g. Kubernetes/OpenShift) and scriptable minimal image assembly without Dockerfiles.
- Supports both
Containerfile/Dockerfile(bud) andfrom/copy/commitscripting
Maintained by the Containers organization (containers/buildah) under Apache-2.0.
- Official
containers/buildahrepository
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
Reads registry auth from ${XDG_RUNTIME_DIR}/containers/auth.json or ~/.docker/config.json.
100% free and open-source (Apache-2.0).
# 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
buildah images --json
Returns locally stored images, IDs, tags, and sizes as structured JSON.
buildah inspect --type image alpine:latest
Prints full OCI image manifest and config JSON from local storage.
Controlled Writes & Previews
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 --jsonandbuildah inspectprovide structured local metadata. - + Supports both
Dockerfile/Containerfilebuilds 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/subgidandfuse-overlayfshost configuration.