Services and User Management
A team runs a third-party image on a shared Linux server. Security policy requires that if a process breaks out of the container, it must not gain root privileges on the host. Which configuration BEST meets this requirement?
Show the answer
Correct answerB. Run the container rootless as a regular user so container root maps to an unprivileged host UID
A rootless (unprivileged) container uses a user namespace, so root inside maps to a non-root host UID and an escape yields only that user's rights. A read-only filesystem does not help, because --privileged removes most confinement and exposes host devices.