Skip to content
SPECIFICTION
Get listed

BuildKit vs rules_docker

BuildKit

github.com

rules_docker

github.com

Side by side

FigureBuildKitrules_docker
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYes—
macOSYesYes
LinuxYesYes
APIYes—
Self-hostedYes—
Plans published11
Spec score · Container Build Tools8.9 (#4)7.3 (#26)
LicenseBuildKit is distributed under the Apache License, Version 2.0, which grants perpetual, worldwide, non-exclusive, no-charge, royalty-free copyright rights subject to the license terms.The repository is licensed under Apache License 2.0.
PurposeBuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner.rules_docker is a set of Bazel rules for pulling base images, adding build artifacts and assets, and publishing container images.
Security reportingSecurity issues should be reported privately to [email protected], and the project currently does not offer a paid security bounty program.The security policy directs vulnerability reports to Google's g.co/vulnz intake and says the Google Security Team processes reports within a day and responds within a week, depending on severity.

Plans

BuildKit

  • BuildKit (Apache License 2.0)Free

BuildKit pricing →

rules_docker

  • rules_dockerFree

rules_docker pricing →

In their own words

BuildKit

BuildKit is a free toolkit for turning source code into build artifacts. It consists of the buildkitd daemon and buildctl client, and uses LLB, a binary format for describing process dependency graphs. Builds can use Dockerfiles or other LLB-compatible frontends, resolve dependencies concurrently, cache instructions, import and export caches, run nested jobs, and collect unused data automatically. BuildKit supports execution without root privileges and OCI (runc) or containerd workers. Results can be exported as images, local directories, tarballs, Docker tarballs, or OCI tarballs. Cache options include inline, registry, local-directory, and GitHub Actions backends; the README marks GitHub Actions, S3, and Azure Blob options experimental. The daemon provides a gRPC API over a Unix socket by default, with TCP sockets also supported. Binaries are available for Linux, macOS, and Windows. The unofficial Homebrew formula for macOS omits buildkitd; the project gives Lima in a Linux virtual machine as one way to run it. BuildKit is licensed under Apache-2.0.

Visit github.com

rules_docker

rules_docker has no write-up on Specifiction yet; its figures are above.

Visit github.com