Verify what capabilities a running container has and why it matters.
IntermediateScenarioRuntimes: containerd, OCI, rootless and Podman
Answer
Situation read → Audit privileges.
What I'd do →
docker inspect -f '{{.HostConfig.CapAdd}} {{.HostConfig.CapDrop}}' c
docker exec c grep Cap /proc/1/status
capsh --decode=00000000a80425fb
Why → Default set includes NET_RAW, CHOWN, SETUID etc.; drop what the app doesn't need.
Interview tip → NET_RAW allows ARP spoofing in shared bridges.
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