SaaSHub helps you find the best software and product alternatives Learn more β
Buildkit Alternatives
Similar projects and alternatives to buildkit
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
Moby
The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
-
-
-
dagger
Automation engine to build, test and ship any codebase. Runs locally, in CI, or directly in the cloud (by dagger)
-
-
-
-
-
nerdctl
contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...
-
-
-
-
-
-
-
-
-
buildkit discussion
buildkit reviews and mentions
-
Docker's graphdriver store re-pushes zstd layers labelled gzip
TL;DR: When a Docker daemon uses the graphdriver image store (overlay2: every Docker 28, and Docker 29 installs that were upgraded from 28 or have "containerd-snapshotter": false), docker push of an image it pulled with zstd-compressed layers writes a manifest that labels those layers application/vnd.docker.image.rootfs.diff.tar.gzip. The blobs are reused as they are, so they're still zstd. The push succeeds, the registry accepts it, and docker run of the image works, because Docker detects the compression from the data. Tools that trust the label don't: a BuildKit build FROM the relabelled image with compression=zstd,force-compression=true failed with failed to get compression blob "zstd": not found, and without force-compression it succeeded and copied the gzip label into the new image. Reproduced on Docker 29.9.1 and 29.9.2; the containerd image store labels the same layers correctly. Upstream: moby/moby#53999 and moby/buildkit#7308.
-
COPY --chown with a missing user builds fine and leaves the files owned by root
TL;DR: The Dockerfile reference says a COPY --chown name that isn't in the image's /etc/passwd or /etc/group makes the build fail. With Docker 29.9.1 and buildx v0.38.0 (BuildKit v0.34.0 inside), it didn't. COPY --chown=nosuchuser file.txt /a built with exit 0, printed no warning, and /a was owned by 0:0. A numeric ID of 2^31 or more (--chown=2147483648) also became 0:0. A missing group with a numeric user (--chown=1000:nosuchgroup) became 1000:1000. The only cases that failed were COPY --link --chown=nosuchuser, with a clear error, and a FROM scratch stage with no passwd file at all. So a typo, or a user created in a different build stage, quietly gives files to root, and you find out when the non-root process that was supposed to own them gets Permission denied. Upstream: moby/buildkit#7292.
-
Rootless Docker builds silently ignore --resource memory limits
TL;DR: Per-step resource limits in BuildKit (docker buildx build --resource memory=..., Bake resources) are silently ignored when the builder is rootless, including the builder inside rootless Docker. On rootless Docker 29.9.1 with buildx v0.38.0, a RUN step limited to 256 MB allocated 600 MB and printed "not killed"; the build exited 0 and said nothing about the limit. On the same rootless daemon, docker run --memory 256m with the same allocation was killed (exit 137), so the cgroup controllers were delegated and limits were possible. On rootful Docker the build failed with 137, as intended. The upstream report (moby/buildkit#7287) points at BuildKit's rootless spec conversion, which removes the resource settings. The toolkit's check-rootless-build-limits.sh tells you which kind of builder you have and can measure it.
- A faster path to container images in Bazel
-
Docker Image Layers β What They Are & How They Work
The IDs associated with each layer were displayed in the build output. Unfortunately, the switch to BuildKit in recent Docker versions prevents the convenient use of intermediate layers because they're no longer stored after the build completes.
-
Why Weβre Moving on From Nix
Better caching: Railpack interfaces directly with BuildKit to control the layers and filesystem, resulting in more cache hits (with sharable caches across environments)
-
Kubernetes Without Docker: Why Container Runtimes Are Changing the Game in 2025
BuildKit Faster Docker Builds Build speed + cache control = win.
-
Build a Container Image from Scratch
Windows is is very similar, the differences are two the layer tarballs.
The file system appears in a Files sub-directory as there is a Hives sub-directory for containing the Windows Registry.
The other difference is there are two extra PAX headers within the tarball, MSWINDOWS.fileattr which is "32" for a regular file, and "16" for a directory and MSWINDOWS.rawsd which is a special encoding of the security descriptor, which you can think of it as the owner, group and permissions associated with the file (which their standard values can be seen from buildkit here: https://github.com/moby/buildkit/blob/22156ab20bcaea1a1466d2...)
I haven't looked into how to handle the Windows Registry aspect as in my exploration I was focused on simply adding a pre-built executable so I didn't need any registry entries created.
The other fun gotcha is to ensure the ENV section contain PATH set to c:\\Windows\\System32;c:\\Windows otherwise you would be unlikely to be able to run any Windows executable.
-
Docker BuildKit: Accelerating Docker Builds with Next-Generation Technology
BuildKit GitHub Repository
-
Beyond Docker - A DevOps Engineer's Guide to Container Alternatives
I remember when container builds were slow and not really efficient, and were usually a bottleneck of our CI/CD pipelines. That is until I discovered BuildKit and my life changed. BuildKit is the next-generation builder engine for Docker, but it can also be used independently.
-
A note from our sponsor - SaaSHub
www.saashub.com | 7 Nov 2026
Stats
moby/buildkit is an open source project licensed under Apache License 2.0 which is an OSI approved license.
The primary programming language of buildkit is Go.