Skip to content

Commit 7343788

Browse files
dvdksnclaude
andcommitted
docs: add rootless mode cross-reference to userns-remap page (fixes #12171)
The userns-remap page had no mention of rootless mode, so users didn't know about the alternative. Added a note clarifying that userns-remap still runs the daemon as root, with a link to rootless mode. The rootless page already links back to userns-remap. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e97f3d9 commit 7343788

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/manuals/engine/security/userns-remap.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ can re-map this user to a less-privileged user on the Docker host. The mapped
1616
user is assigned a range of UIDs which function within the namespace as normal
1717
UIDs from 0 to 65536, but have no privileges on the host machine itself.
1818

19+
> [!NOTE]
20+
>
21+
> With `userns-remap`, the Docker daemon still runs as root. To run both the
22+
> daemon and containers without root privileges, see [Rootless mode](rootless/_index.md)
23+
> instead.
24+
1925
## About remapping and subordinate user and group IDs
2026

2127
The remapping itself is handled by two files: `/etc/subuid` and `/etc/subgid`.

0 commit comments

Comments
 (0)