| What it is | Docker CLI plugin for extended build capabilities with BuildKit | A tool that facilitates building OCI container images | Build Container Images In Kubernetes | concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit |
| Features | - the docker build interface, always building with BuildKit
- multiple builder instances: docker buildx create, use, ls and rm
- drivers: docker, docker-container, kubernetes, remote and cloud (Docker Build Cloud)
- multi-platform images, with multi-node builders for native builds per architecture
- cache export and import to registries, local directories and CI caches
- tarball and OCI image outputs
- Bake: high-level builds from HCL, JSON or Compose files
- Compose build support
- All 11 features
| - builds from Containerfiles or Dockerfiles (buildah build)
- working containers from scratch or an existing image
- mount and unmount a container's root filesystem
- commit a working container to an image; rename and delete containers
- OCI or Docker image formats
- no daemon (fork-exec model); rootless builds
- Go library that Podman uses for Dockerfile builds
- packaged for Fedora, RHEL, CentOS, Debian, Ubuntu, Arch, Gentoo and openSUSE
| - builds images from a Dockerfile without a Docker daemon, entirely in userspace
- runs as a container or a Kubernetes pod
- build contexts from GCS, S3, Azure Blob Storage, a local directory or tar, standard input or a Git repository
- layer caching in a remote repository and base image caching with the warmer
- pushes to Docker Hub, GCR, Amazon ECR, Azure Container Registry, JFrog and other registries
- registry mirrors and registry maps
- multi-stage builds, --target and --skip-unused-stages
- reproducible builds and OCI layout output
- All 9 features
| - concurrent dependency resolution
- instruction caching
- cache import/export
- garbage collection
- rootless
- distributable workers
- multiple output formats
- pluggable frontends
|
| Limitations | - Needs Docker Engine 19.03 or newer: older Docker versions are incompatible
| - Doesn't see Podman's containers: Buildah's working containers and Podman's are stored separately and can't see each other
| - Doesn't build Windows containers
- Doesn't run outside the official kaniko image: copying the executor into another image, such as a Jenkins agent, isn't supported
- No prebuilt container images or binaries from the maintained fork: build them yourself or use Chainguard's commercial kaniko images
- No new features planned: Chainguard's fork gets security patches, maintenance and minor bug fixes only
| |