buildkit
dive
| buildkit | dive | |
|---|---|---|
| 66 | 107 | |
| 10,028 | 54,238 | |
| 1.0% | 0.8% | |
| 9.7 | 5.7 | |
| 6 days ago | 6 months ago | |
| Go | Go | |
| Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
buildkit
- 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.
-
Day 23: Docker Resources
BuildKit is the engine behind Docker's build system. It's a fascinating look into how Docker images are constructed, with features like:
-
1MinDocker #8 - Advanced concepts for buildx
create should be provided with a daemon configuration file through the --buildkitd-config flag (if not, it defaults to the buildkitd.default.toml file contained in the config directory of buildx). You can find an example of a complete configuration file in buildkit official documentation on GitHub.
-
Speed up Kamal deploys in GitHub Actions
By default, Kamal uses the docker-container driver to build images which, in turn, uses the BuildKit toolkit internally. While Kamal sets up registry caching correctly, caching still fails in the end because the BuildKit process is isolated from our GitHub Action runtime process. To connect the two, we need to expose the GitHub runtime to the workflow. Luckily, there is a GitHub Action ready just for this so all that is needed is adding the action to the workflow file. We put it right after setting up Docker Buildx:
dive
-
Which package is bloating your Docker image?
dive (~54k⭐) lets you browse what's in it — file by file, interactively. It answers what is in a layer.
-
Docker Image Diet: Find the Problem With dive Before Trying to Fix It
dive on GitHub — Docker image layer explorer
-
List, inspect and explore OCI container images, their layers and contents
A similar tool to this (includes interactive TUI) is https://github.com/wagoodman/dive
-
Reducing the Footprint of the Docker image of IRIS Community Edition
To understand and optimize the IRIS Community Edition image, we used dive, a tool for inspecting Docker image layers and identifying inefficiencies.
-
Dockerfile - Node with TypeScript
But while that doesn't happen, I’d like to share a Dockerfile structure I’ve been working on. Modesty aside, I think the result is pretty solid 😎. In my case, the initial image was around 1GB, and after some tweaks, it dropped to about 161MB (according to Dive)); it’s worth noting this was for a simple app built with [Hono](https://hono.dev/.
- Dockerfile - Node com Typescript
-
Docker Image Layers – What They Are & How They Work
You can also inspect the content of image layers using Dive. Dive is a popular open-source community tool for visualizing container images. It provides an interactive terminal interface.
-
Show HN: Unregistry – "Docker push" directly to servers without a registry
You're bang on, but you can do things with dive (https://github.com/wagoodman/dive) and use chunks of the code in other projects... That's what I've been doing. The license is MIT so it's permissive.
But yes, an API would be ideal. I've wasted far too much time on this.
-
10 Common Docker Mistakes That Hurt Node.js App Performance
Docker images can easily grow with outdated dependencies or security flaws. Tools like Dive or docker scout help analyze image layers.
-
Stop using Docker like it’s your first dev job
Dive Visualize image bloat
What are some alternatives?
buildah - A tool that facilitates building OCI images.
Lean and Mean Docker containers - Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
kaniko - Build Container Images In Kubernetes
skopeo - Work with remote images registries - retrieving information, images, signing content
jib - 🏗 Build container images for your Java applications.
create-go-app - ✨ A complete and self-contained solution for developers of any qualification to create a production-ready project with backend (Go), frontend (JavaScript, TypeScript) and deploy automation (Ansible, Docker) by running only one CLI command.