Skip to content

Podman errors on tar with potentially insufficient UIDs or GIDs available in user namespace #23861

Answered by AClon314
AClon314 asked this question in Q&A
Discussion options

You must be logged in to vote

I've gather some possible solutions for subgid/subuid problems.

Ultimate solution:

range=100000-200000
sudo usermod --add-subuids $range --add-subgids $range $(whoami)

chmod 0755 /usr/bin/newuidmap /usr/bin/newgidmap

vim ~/.config/containers/storage.conf

Add these 2 lines in ~/.config/containers/storage.conf

[storage.options.overlay]
ignore_chown_errors = "true"

My problems are:

  • Not set up /etc/subuid /etc/subgid
  • Broken permissions for newuidmap newgidmap

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@AClon314
Comment options

Comment options

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