Process Flow - User namespace remapping
Docker daemon starts
Check userns-remap config
If enabled
→Map container user IDs to host user IDs
Create subuid and subgid ranges
Run container with remapped IDs
Container user ID != Host user ID
Improved host security
End
Docker daemon checks if user namespace remapping is enabled, then maps container user IDs to different host user IDs to improve security.