Skip to content

Cannot find mappings for user "containers": no subuid ranges found for user "containers" #24951

Closed Answered by Iduoad
Iduoad asked this question in Q&A
Discussion options

You must be logged in to vote

Yes the containers user is similar to dockremap in docker.

Quoting the documentation:

The --userns=auto flag requires that the user name containers be specified in the /etc/subuid and /etc/subgid files, with an unused range of subordinate user IDs that Podman containers are allowed to allocate. See subuid(5).
Example: containers:2147483647:2147483648.
Podman allocates unique ranges of UIDs and GIDs from the containers subordinate user ids. The size of the ranges is based on the number of UIDs required in the image. The number of UIDs and GIDs can be overridden with the size option.
The rootless option --userns=keep-id uses all the subuids and subgids of the user. Using --userns=auto when…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Iduoad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant