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