advancedCI/CD with Docker: Jenkins, GitHub Actions & GitLab CI

What are Kaniko and Buildah, and why would you use them instead of standard docker build in CI?

Both build OCI-compliant images without requiring a running Docker daemon at all (daemonless), and without needing privileged container mode — Kaniko runs entirely inside a single container executing build steps directly against the filesystem, and Buildah similarly builds images using unprivileged user namespaces. This matters most on shared/multi-tenant CI infrastructure where granting Docker-in-Docker or socket access to every job would be an unacceptable security exposure.

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.

What are Kaniko and Buildah, and why would you use them instead of standard docker build in CI?

Next Step

Continue to How would you speed up slow Docker builds in a CI pipeline?← Back to all Docker questions