Skip to content

Why containers: from bare metal to VMs to containers

Select an icon to see what it is.

Step 4 of 6

Containers share the host's kernel

A container is a normal process on the host, started inside its own namespaces and a cgroup. There is no guest OS to boot, so it starts like a process, usually in about a second or less. The image supplies the app's files, and the host's kernel does the rest.

Layers in a container

physical server
host operating system and kernel (shared)
container runtime (runc)
your app and its libraries, from the image