How are containers isolated at kernel level?
BeginnerScenarioRuntimes: containerd, OCI, rootless and Podman
Answer
Situation read → Fundamental concept.
What I'd do → Namespaces (pid, net, mnt, uts, ipc, user, cgroup) restrict what a process sees; cgroups limit what it can use; capabilities, seccomp and LSMs (AppArmor/SELinux) restrict what it can do.
lsns -p $(docker inspect -f '{{.State.Pid}}' web)
Why → Containers are regular processes with restricted views, not VMs.
Interview tip → Shared kernel is the key difference from VMs.
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