Skip to content

What it is

A container is an isolated, portable unit of software that packages an application with its dependencies, sharing the host OS kernel while isolating the filesystem, processes and network.

A container is not a virtual machine. A VM virtualizes hardware (via a hypervisor) and runs its own kernel; a container virtualizes the operating system, sharing the host kernel and isolating only userspace. That difference is why a container starts in milliseconds and a VM in minutes.

Scope note. "Container" is used across three domains: OS-level containers (LXC, Docker, Podman), application containers (Java EE, .NET), and shipping containers (logistics). This entry covers OS-level containers — the ones used in modern software deployment.