Containers
Cheat sheet · https://pcornel.dk/topic.php?topic=2888
Answer
Containers on Linux run processes isolated with namespaces and limited with cgroups, from layered images, managed by Docker, Podman or containerd (Kubernetes).
Remember
A container is just a process on the host — ps on the host shows it. Data in the container layer is lost when it is removed; use volumes. Membership of the docker group equals root.
First checks
docker ps -a / podman ps -a— containers and statedocker logs <c>— container outputdocker inspect <c>— configuration, mounts, networkdocker info— engine, storage driver, cgroup version
Verify in this order
image pulled → container created with namespaces/cgroups → process runs → logs/volumes/network
Where it usually breaks
First mismatch in hardware/kernel capability → scheduler/mm/device → cgroup/namespace → process/thread → service/runtime → workload behavior/counters; preserve identity/native diagnostic/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2888