Check how a container's cgroup limits look on the host.
IntermediateScenarioRuntimes: containerd, OCI, rootless and Podman
Answer
Situation read → Verify limits are really applied.
What I'd do →
CID=$(docker inspect -f '{{.Id}}' web)
cat /sys/fs/cgroup/system.slice/docker-$CID.scope/memory.max
cat /sys/fs/cgroup/system.slice/docker-$CID.scope/cpu.max
(systemd cgroup driver, cgroup v2 paths).
Why → Proves the engine translated flags into kernel limits.
Interview tip → Use systemd-cgls or systemd-cgtop for a live view.
More on Runtimes: containerd, OCI, rootless and Podman
Explain the path from `docker run` to a running process.IntermediateKubernetes removed dockershim. What does that mean for your Docker-built images?BeginnerRun rootless Docker for developers on a shared Linux box.IntermediatePodman vs Docker: when would you pick Podman?IntermediateRun a Podman container as a systemd service.IntermediateWhat is the OCI and which specs does it define?Beginner