Overview of Buildah
mainBuildah is a tool designed to facilitate building Open Container Initiative (OCI) container images. Unlike traditional container engines, Buildah specializes in the build process, allowing you to create images either from scratch, from an existing image, or via instructions in a Dockerfile/Containerfile.
Key capabilities include:
- Creating working containers (from scratch or base images).
- Building images from working containers or Dockerfiles.
- Supporting both OCI and traditional upstream Docker image formats.
- Mounting and unmounting a container's root filesystem for direct manipulation.
- Using container filesystem contents as layers for new images.
- Managing local containers and images (rename, delete, etc.).
Buildah follows a fork-exec model and does not run as a daemon. It can be used without root privileges and provides a comprehensive Go API that can be vendored into other tools.