Buildah vs LXD
Buildah
buildah.ioLXD
canonical.comSide by side
| Figure | Buildah | LXD |
|---|---|---|
| Price from | Free | $2.08/mo |
| Free plan | Yes | Yes |
| Free trial | — | Yes |
| Open source | — | — |
| Web | — | Yes |
| Linux | Yes | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 4 |
| Spec score · Container Engines | 8.5 (#4) | 8.3 (#7) |
Plans
LXD
- LXD open sourceFree
- Ubuntu Pro PersonalFree
- Ubuntu Pro Enterprise workstation$25 a year
- Ubuntu Pro Enterprise server$500 a year
In their own words
Buildah
Buildah is a free command-line tool for building OCI container images on Linux. It can create images from working containers, Dockerfiles, or Containerfiles, and can also build through commands and scripts without a build file. Output can use OCI format or the traditional upstream Docker image format. Builds can run without root privileges, and Buildah follows a fork-exec model rather than running as a daemon. Its commands create, mount, unmount, delete, and rename working containers, as well as create or delete images; users can also pull images from a specified location and push local images elsewhere. Buildah is based on a Go API that other tools can vendor, and Podman uses it for Dockerfile builds while remaining independently installable. Buildah requires a kernel with OverlayFS or fuse-overlayfs support; RHEL or CentOS requires version 7.4 or later. Installation guidance warns that short image names can be spoofed and recommends fully qualified names from trusted registries or pulling by digest. The project points users to tutorials, releases, and a mailing list for questions.
LXD
LXD is an open-source platform for managing system containers and virtual machines on Linux. It brings LXC-based containers and KVM-based virtual machines together, with images for many Linux distributions and Windows virtual machines. Management options include a command line, REST API, web UI and third-party tools; the same HTTP API supports local and remote access. An official web UI is available by default starting with LXD 5.21.0 LTS. Features include resource limits, scheduled and expiring snapshots, projects, hardware passthrough, live migration and advanced networking. Containers run unprivileged by default, and virtual machines support UEFI Secure Boot and vTPM. LXD can run from a laptop to a data-center deployment; documentation describes clusters of up to 50 servers with thousands of instances. LXD is free, with the open-source plan listed at free. Ubuntu Pro Personal is also free for up to five physical Ubuntu systems. Enterprise workstation and server subscriptions are $25 a year and $500 a year, respectively.