Docker Storage
Filesystem UID/GID mapping
User namespace mappings translate numeric identities; rootless and userns-remap differ in daemon privilege and mapping. Verify actual permissions and mapping before correcting ownership. Apply each mapping only within its declared count.
Formal Syntax & Structure
docker syntaxdocker
Filesystem UID/GID mappingWorking Example
Example Snippetdocker
Hypothetical user namespace mapping (inside, outside, count)0 1000 11 200000 65536File X: host UID 200004, owner-write onlyProcess A: inside UID 5Process B: inside UID 6