Containers
-
cgroups and namespaces — how containers work
Isolation (namespaces) and resource limits (cgroups) — the foundation of containers and systemd.
6 minlsnssystemd-cglssystemd-cgtop -
Docker — containers: running, ports, volumes, networks
Docker runs programs in isolated containers started from images and manages their ports, volumes and networks.
23 minsystemctl enabledocker rundocker ps -
Container images — layers, tags, registries and digests
An image is a read-only stack of layers with files and run settings; Docker creates containers from it.
13 mindocker loaddocker imagesdocker image -
Dockerfile — an image recipe and docker build
A Dockerfile is an image recipe: base, files, build and start commands; docker build turns it into an image.
14 mindocker builddocker historydocker image -
docker compose — a container stack in one file
docker compose describes a container stack with network, volumes and variables in compose.yaml and starts it at once.
14 mindocker compose