Introduction
User namespace remapping helps improve security by making container users different from host users. This stops containers from having full control over the host system even if they break out.
When you want to run containers but limit their access to the host system users.
When multiple users share the same Docker host and you want to isolate their containers.
When you want to reduce risks of privilege escalation from containers to the host.
When running untrusted or third-party container images on your server.
When you want to comply with security policies that require user separation.