| What it is | Simple, fast container image builder for Go applications | A tool that facilitates building OCI container images | Build container images for your Java applications | Build Container Images In Kubernetes |
| Features | - builds images with go build, no Docker daemon needed
- no Dockerfile
- multi-platform builds
- SBOMs generated by default
- resolves Go import paths in Kubernetes YAML into built images (ko resolve, ko apply)
- setup-ko GitHub Action
- release binaries with GitHub artifact attestations
| - 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
| - Maven and Gradle plugins
- Jib CLI and Jib Core library
- no Docker daemon or Dockerfile needed
- layers split dependencies from classes for fast rebuilds
- reproducible images
- pushes to any registry
- Docker and OCI image formats
| - 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
|
| Limitations | - Doesn't suit images that need cgo or OS packages: it's for a single Go binary on a base image
| - Doesn't see Podman's containers: Buildah's working containers and Podman's are stored separately and can't see each other
| - Builds images for Java (JVM) applications only
| - 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
|