Skip to content

Commit 18adb7a

Browse files
authored
Merge pull request #24723 from dvdksn/fix/issue-12171-userns-rootless-xref
Add rootless mode cross-reference to userns-remap page
2 parents e97f3d9 + 7343788 commit 18adb7a

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)