IT Glossary
Containerization: what it is and how it works
An application, its libraries and settings in one standard image that runs isolated on any compatible Linux server, with no operating system of its own.
- 7
- sections
- 6
- questions answered
Containerization is the method of packaging an application together with its libraries and settings into a standard image (the OCI format) that runs as an isolated process directly on the host operating system's kernel, without an operating system of its own as a virtual machine has. Two Linux kernel mechanisms do the isolating: namespaces limit what the process can see (other processes, network, file systems), and cgroups limit how much CPU and memory it gets. The image is the shipping container of software: one standard box that moves between a developer's laptop, a test server and any cloud without anyone caring what is inside. For a company, three practical consequences follow. The classic "works on my machine" failure disappears, because the environment travels with the app. Switching hosting providers gets simpler because the application moves easily; the data and a provider's managed services (managed database, message queue) move separately, so portability is not total, but your negotiating position improves. And at traffic peaks you start more copies of the container, as long as the application keeps no data inside it. So when a vendor says the solution ships containerized, what you are really hearing is portable, reproducible and scalable — three words that save money at every future change.
Why it matters for your business
Identical behavior everywhere
The packaged environment removes surprises between development, testing and production — far fewer "but it worked on our side" incidents.
Portability between providers
The same container runs on AWS, Azure, a European host or your own server, on any Linux server with a compatible processor architecture — your leverage in hosting negotiations stays intact.
Scaling by starting copies
Double the traffic? Extra containers spin up in minutes — no new hardware purchases and nothing reinstalled from scratch.
How a container works: image, namespaces, cgroups
An image is a read-only template built from layers once and stored in a registry. A container is the running instance of an image: from one image you start as many containers as you need.
The Linux kernel isolates eight resource types through namespaces: cgroup, IPC, network, mount, process ID (PID), time, user and hostname (UTS), per the namespaces(7) manual page. Cgroups cap each container's CPU and memory.
An image is built for one processor architecture (amd64 or arm64) and runs only on it, unless it was built multi-architecture.
Container vs virtual machine
A virtual machine virtualizes hardware through a hypervisor and carries a full operating system with its own kernel: typically tens of GB, and it boots like a computer. A container virtualizes the operating system, shares the host kernel, has an image typically tens of MB (Docker documentation) and starts in seconds or less.
The trade-off is isolation: for a virtual machine the boundary is enforced by hardware, for a container by the shared kernel. A Windows container needs a Windows kernel. In the cloud, containers usually run inside virtual machines, so the two combine rather than exclude each other. For hypervisors, see the virtualization entry in this glossary.
Want an estimate for your project?
Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.
The OCI standard: why an image does not depend on Docker
The Open Container Initiative (OCI) was launched on 22 June 2015 by Docker, CoreOS and others under the Linux Foundation, and defines three specifications: runtime, image and distribution. Docker donated its image format and runc in June 2015. Image and distribution spec 1.1.0 followed on 15 February 2024.
You can verify the consequence: Kubernetes removed dockershim in version 1.24 (released 3 May 2022), and images built with Docker are OCI images, so they run on containerd or CRI-O. Containerization does not tie you to one tool.
Alternatives to Docker: Podman, containerd, CRI-O
Podman runs containers without a daemon, as root or as an unprivileged user, and "alias docker=podman" works for most users (Podman documentation). containerd is a CNCF project, graduated on 28 February 2019, and the runtime many Kubernetes clusters use. CRI-O is an OCI runtime built specifically for Kubernetes.
Details of the Docker tool (image, Dockerfile, Compose) are on the dedicated Docker glossary page; commercial terms and the Docker Desktop licence are on the Docker technology page.
What "delivered containerized" means for your company
Ask the vendor for four things in writing: the build files (Dockerfile) handed over to you, the image kept in a registry your company controls, the list of services that stay outside the container (database, uploaded files, backups) and how base images are updated.
Without those four answers, "containerized" may only mean the application runs in a vendor-owned container that you cannot move.
Frequently asked questions
How do Docker and Kubernetes relate to each other?
Docker builds and runs containers on one machine; Kubernetes orchestrates them across several servers. Since version 1.24, Kubernetes runs Docker-built images through containerd or CRI-O. A small company rarely needs Kubernetes; simpler options exist in between.
Can our legacy application be containerized?
Often yes, and it is an excellent modernization step at moderate effort: the application is not rewritten, only packaged. The exceptions are systems deeply tied to an old operating system or specific hardware — those need other interventions first.
Does containerization bring any direct savings?
Yes, through density and efficiency: images are typically tens of MB versus tens of GB for a virtual machine, so one server hosts more isolated applications. Hours spent installing, migrating and debugging environment differences also drop, plus the option value of moving cheaply to a better offer.
Does containerization mean Docker?
No. Docker is the best-known tool, but the image format is the OCI standard, so the same images also run with Podman, containerd or CRI-O. You can change the runtime tool without rebuilding the application, which reduces dependence on one product.
Are containers less secure than virtual machines?
Isolation is weaker because containers share the host kernel: a flaw in the kernel or runtime can let a container reach the host (CVE-2019-5736 in runc, published 11 February 2019, gave root on the host). Reduce the risk with non-root containers, minimal images and a patched host; run strangers' code in virtual machines.
Is containerization the same as virtualization?
No. Virtualization usually means hardware-level virtualization: a hypervisor runs virtual machines, each with its own operating system. Containerization is operating-system-level: containers share the host kernel. They combine often, with containers running inside virtual machines in most clouds.
Let’s talk about your project
Book a free 30-minute call or send us an email. We reply the same working day.
office@northdan.com · +40 750 252 851