Skip to main content

Nirvana Lab

CLOUD & DEVOPS

Docker Consulting Services and Kaniko Builds for Secure Containers

Package every application the same way, build images safely inside Kubernetes, and ship smaller, scanned images to production.
ISO/IEC 27001:2022
SOC 2 Type 2
CMMI-certification
CLOUD & DEVOPS

Docker Consulting Services and Kaniko Builds for Secure Containers

Package every application the same way, build images safely inside Kubernetes, and ship smaller, scanned images to production.
ISO/IEC 27001:2022
SOC 2 Type 2
CMMI-certification

What are Docker and Kaniko?

Docker is a platform for packaging an application and its dependencies into a container image, defined in a Dockerfile, that runs the same way on a laptop, a CI server or Kubernetes. Kaniko is an open-source tool, created at Google, that builds those images inside a container or Kubernetes pod without a Docker daemon.

Nirvana Lab offers Docker consulting services: containerizing Spring Boot, FastAPI and Liferay workloads, writing lean and secure Dockerfiles, and building images in CI pipelines on Amazon EKS. Kaniko in our pipelines:

At a glance
Item Detail
What it is
Docker: container build and run tooling (Docker, Inc.; Docker Engine is open source). Kaniko: daemonless Dockerfile image builder (Apache 2.0)
What we use it for
Containerizing applications, local development environments, CI image builds inside Kubernetes, pushing images to Amazon ECR
Works with
Kubernetes (Amazon EKS), Jenkins, AWS, Terraform, Python & FastAPI, Liferay DXP
Best fit
Teams moving to containers or running CI builds on Kubernetes without privileged containers
Official site
https://www.docker.com · https://github.com/GoogleContainerTools/kaniko

When to choose Docker and Kaniko

You want the same build everywhere

A Dockerfile pins the runtime, libraries and configuration, so "works on my machine" problems stop at the image.

Your CI runs on Kubernetes

Kaniko builds images inside an ordinary pod, so you don't need privileged Docker-in-Docker containers or access to a node's Docker socket.

You are preparing for Amazon EKS

Containerizing first, with health checks and configuration through environment variables, is the step that makes a Kubernetes move straightforward.

When not to choose Kaniko

Google archived the original Kaniko project in 2025 and community forks continue it. For new pipelines, rootless BuildKit or Buildah are strong alternatives, and Kaniko does not build Windows container images.

What we build with Docker and Kaniko

CI/CD pipelines

Jenkins pipelines that build, test, scan and push images on every change.

Hardened image pipelines

Minimal base images, vulnerability scanning and software bills of materials (SBOMs).

Kubernetes platform build services

Shared, daemonless build runners for many teams on one cluster.

Containerized migrations

Legacy applications packaged into containers before they move to AWS.

Liferay environments in containers

Repeatable Liferay DXP environments for upgrade testing and development.

Product engineering

Containerized SaaS services ready for multi-tenant deployment.

docker-consulting-services-kaniko-build-pipeline

How we work with Docker and Kaniko

Dockerfile standards

Multi-stage builds, minimal or distroless base images, pinned versions, a non-root user, a .dockerignore file and one process per container.

Build security

Kaniko pods run without privileged mode; registry access to Amazon ECR comes from short-lived IAM credentials, not stored passwords; every image is scanned and gets an SBOM before it can deploy.

Build speed

We order layers so dependencies cache well and use Kaniko's remote layer cache, which keeps rebuilds fast when only application code changes.

Testing images, not just code

CI starts each image, checks its health endpoint and runs container structure tests before the image is promoted.

Operations: traceable and tidy

Images are tagged with the commit ID and never overwritten, and registry lifecycle rules remove old images to control storage cost.

Proof

Docker and Kubernetes are part of our day-to-day stack for Spring Boot and Liferay workloads, including the Amazon EKS environment we run and cost-optimize for ourselves. Kubernetes (Amazon EKS) Kaniko-based builds in client or internal pipelines:

College student
Case Study

Architecting the AI-First & Student-Centric Campus

Moving from Fragmented Legacy Platforms to an All-in-One Digital Experience Executive Summary For today’s digital-native students, a seamless, pers...
Read More
Miller Knoll Thumbnail
Case Study

A Michigan-Based Manufacturer Transforms Supplier Experience Through a Modern Digital Portal

Client Overview A Michigan-based global manufacturing company, operating across 12 countries, was facing increasing challenges with its legacy “Su...
Read More
Transforming a Global CNC Machine Manufacturer with Liferay
Case Study

Transforming a Global CNC Machine Manufacturer with Liferay

Overview A global manufacturing OEM specializing in large CNC milling machines for the automotive and heavy engineering industries set out to moderniz...
Read More

Frequently asked questions

What is Docker used for?

Docker is used to package applications into container images and run them consistently across laptops, test servers and production. Teams use it to standardize environments, speed up onboarding, isolate dependencies and prepare applications for orchestration platforms such as Kubernetes and Amazon EKS.

Kaniko is an open-source tool that builds container images from a Dockerfile inside a container, without a Docker daemon. It executes each Dockerfile instruction in user space and pushes the result to a registry such as Amazon ECR. It is popular for CI pipelines running on Kubernetes, where privileged containers are discouraged.

Kaniko is generally safer, because it needs no privileged container and no access to the host’s Docker socket. Docker-in-Docker requires privileged mode, which can expose the node if a build is compromised. Docker-in-Docker supports more Docker features and can be faster; rootless BuildKit offers a middle ground.

Google archived the original Kaniko repository in 2025, and community forks have continued development. Existing pipelines keep working, but for new builds we compare Kaniko forks with rootless BuildKit and Buildah and pick the one with active security updates.

Docker builds and runs containers. Kubernetes orchestrates many containers across many machines: scheduling, scaling, restarting failed ones and routing traffic. You typically build images with Docker or Kaniko, store them in a registry, and let Kubernetes or Amazon EKS run them in production.

Image

Make your container builds faster and safer

Share your Dockerfiles and build pipeline. We’ll show where to cut image size, build time and security risk.

Reviewed by Shashank Gupta, Head of Product · Last Updated 18 Nov, 2026

Book a Demo

Pick a time that works for you. We’ll send a calendar invite.