subuid
from 20250115
subuid
What is the /etc/subuid file?
https://unix.stackexchange.com/questions/397092/what-is-the-etc-subuid-file#397168
The subordinate uid file contains a list of users and
the user ids that the user is allowed to impersonate.
subuidとsubgid
従属UID
code:plain
dockremap:165536:65536
ユーザーは、165536(=開始UID)~(165536 + 65536)(開区間)までの範囲でなりすませる
コンテナの中におけるUIDは、165536に相当し、UID=1は165537に相当する。
Rootless Podman
コンテナ内のUID/GIDが/etc/subuidおよび/etc/subgidで指定された範囲を利用して、仮想的にマッピングされる