Buildah

Open source

Buildah is a command line tool for building OCI container images, with or without a Dockerfile and without needing root privileges.

Open-source alternative to

buildah.io
Buildah homepage screenshot
GitHub stars
9.2k
Last 30 days
+58(+1%)
Last commit
today
Repository age
9 years
Version
v1.46.1
Licence
Apache-2.0
Self-hosted
Yes

About Buildah

Buildah is a command line tool, maintained by the containers organization, for creating Open Container Initiative (OCI) container images. It can start a working container from scratch or from an existing image, change what is inside it, and commit the result as a new image. Images can also be built straight from the instructions in a Dockerfile, in either the OCI image format or the traditional docker image format.

Its commands replicate everything a Dockerfile can express, so an image can be assembled step by step without writing one and without root privileges. Because each step is an ordinary command, other scripting languages can take part in the build. Buildah follows a simple fork-exec model, does not run as a daemon, and is based on a golang API that other tools can vendor.

Buildah is meant to be paired with Podman, which handles pulling, tagging, running and maintaining containers and uses Buildah's golang API for Dockerfile builds. A Buildah container exists only to add content to an image, whereas Podman containers are meant to be long lived. The code is written in Go and licensed under Apache-2.0.

Key features

  • Create a working container from scratch or an image
  • Build images from a Dockerfile or from a working container
  • Output in OCI or docker image format
  • Mount a container's root filesystem to edit it
  • Turn changed filesystem contents into a new image layer
  • Runs without a daemon
  • Golang API that other tools can vendor

Good fit for

  • Building OCI images without a Dockerfile
  • Building images without root privileges
  • Scripting image builds in other languages
Tags
containers
oci
image-builder
dockerfile
cli
podman
go

Buildah: questions and answers

What is Buildah used for?
Buildah is a command line tool for building OCI container images, with or without a Dockerfile and without needing root privileges. It is a good fit for building OCI images without a Dockerfile, building images without root privileges and scripting image builds in other languages.
Is Buildah open source?
Yes. Buildah is open source under the Apache-2.0 licence. Its source code is on GitHub at podman-container-tools/buildah and is written mainly in Go.
Is Buildah free?
Yes. Buildah is open source, so the software itself is free to use.
Can I self-host Buildah?
Yes. Buildah can be self-hosted on your own server or infrastructure.
What is Buildah an alternative to?
Buildah is an open-source alternative to Docker Desktop. Other open-source alternatives to Docker Desktop include Podman, Incus and Podman Desktop.
Is Buildah actively maintained?
Yes. The most recent commit to Buildah was on 22 November 2026, and the latest release is v1.46.1, published on 11 November 2026. The project has 9.2k stars on GitHub, with 58 added in the last 30 days.

Open-source alternatives to Buildah

See all

SaaS alternatives to Buildah

See all