Images
Cheat sheet · https://pcornel.dk/topic.php?topic=2891
Answer
A container image is a stack of read-only layers plus configuration (entrypoint, env, ports), identified by name:tag and an immutable digest, stored in registries.
Remember
Tags such as latest move; pin by digest for reproducibility. Scan images for vulnerabilities (trivy, docker scout). Keep images small and rebuild for security updates.
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
Dockerfile → build → layers → tag/digest → pushed → pulled → container
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=2891