Docker Security

Docker user namespace remapping

The formula applies within one contiguous range. With userns-remap the daemon remains rootful; verify actual UID and GID ranges and mount ownership. The upper endpoint of each mapping interval is excluded.

Formal Syntax & Structure

docker syntaxdocker
outside = outside_start + inside - inside_start

Working Example

Example Snippetdocker
Synthetic range: 0 -> 200000; length 65536.
Docker Reference