# kaniko

> Build Container Images In Kubernetes

Source: https://talira.ai/catalog/kaniko-3qbx90c5
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Infrastructure
- Categories: [developer tools / build / docker](https://talira.ai/categories/developer-tools/build/docker), [devops / containers](https://talira.ai/categories/devops/containers), [infrastructure / kubernetes](https://talira.ai/categories/infrastructure/kubernetes)
- Platforms: kubernetes, docker, linux[^1]
- Licence: Apache-2.0[^3]
- Pricing: Free and open source[^2][^3]
- Pricing notes: Chainguard sells hardened kaniko images, including FIPS variants, as part of Chainguard Containers.
- Free tier: yes[^2][^3]
- Self-hostable: yes[^1]
- Backed by: [Chainguard](https://talira.ai/orgs/chainguard.md)
- Creator: Priya Wadhwa and Dan Lorenc, with others at Google
- Funding: venture-backed[^4]

kaniko builds container images from a Dockerfile inside a container or a [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md) pod, without a [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) daemon: it unpacks the base image's filesystem, runs each Dockerfile command in userspace, snapshots the filesystem after each one and pushes the result to a registry. Build contexts can come from a local directory or tar, standard input, a [Git](https://talira.ai/catalog/git-ab5bez9f.md) repository, or a GCS, S3 or Azure Blob Storage bucket, and layers can be cached in a registry. Google created kaniko and archived GoogleContainerTools/kaniko in June 2025; Chainguard, with two of its original authors, forked it to continue security patches and maintenance, with no major feature work planned. The fork publishes only source tags: the old gcr.io/kaniko-project images are no longer updated, so you build the executor image yourself or use Chainguard's commercial images.

## Links

- GitHub: https://github.com/chainguard-forks/kaniko

## Problems it solves

- build Docker images inside a Kubernetes pod without mounting the Docker socket
- build container images in CI without a privileged Docker-in-Docker container
- our GitLab runners on Kubernetes can't run a Docker daemon but need to build images
- build an image from a Dockerfile and push it straight to ECR, GCR or Docker Hub from a pod
- build an image from a build context stored in an S3 bucket or a Git repository
- cache image build layers in a registry so pod-based builds aren't slow
- rootless image builds in a shared cluster where privileged pods are forbidden
- the gcr.io kaniko executor image we use stopped getting updates and we need a maintained replacement
- Google archived the image builder our pipelines depend on; who maintains it now
- build images in Google Cloud Build or inside gVisor without a Docker daemon

## Features

- 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
- runs in gVisor and Google Cloud Build

## Limitations

- Doesn't build Windows containers[^1]
- Doesn't run outside the official kaniko image: copying the executor into another image, such as a Jenkins agent, isn't supported[^1]
- No prebuilt container images or binaries from the maintained fork: build them yourself or use Chainguard's commercial kaniko images[^1]
- No new features planned: Chainguard's fork gets security patches, maintenance and minor bug fixes only[^1][^2]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.50 out of 1.
Signals: backing 0.75, extensibility 0.20.

- backed by Chainguard
- created by Priya Wadhwa and Dan Lorenc, with others at Google
- funding: venture-backed

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md)
- Works with [Chainguard Containers](https://talira.ai/catalog/chainguard-containers-0s4j6q99.md)

## Alternatives

- [Buildah](https://talira.ai/catalog/buildah-57bbrw3f.md): A tool that facilitates building OCI container images
- [BuildKit](https://talira.ai/catalog/buildkit-bbrmdm7c.md): concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
- [ko](https://talira.ai/catalog/ko-f5yg7y89.md): Simple, fast container image builder for Go applications
- [Jib](https://talira.ai/catalog/jib-e9gmjsm5.md): Build container images for your Java applications
- [Docker Build Cloud](https://talira.ai/catalog/docker-build-cloud-cdbck40a.md): Build container images faster on cloud builders with a shared cache, locally and in CI
- [Docker Buildx](https://talira.ai/catalog/docker-buildx-4p1r3z73.md): Docker CLI plugin for extended build capabilities with BuildKit

## Sources

[^1]: https://github.com/chainguard-forks/kaniko (checked 20 Nov 2026)
[^2]: https://www.chainguard.dev/unchained/fork-yeah-were-bringing-kaniko-back (checked 20 Nov 2026)
[^3]: https://github.com/chainguard-forks/kaniko/blob/main/LICENSE (checked 20 Nov 2026)
[^4]: https://www.chainguard.dev/about (checked 20 Nov 2026)
