Skip to content
Discussion options

You must be logged in to vote

But why? How?

I think --userns=keep-id:uid=100,gid=101 is trying to be helpful but in this case changing --user is not what we want.

I think it might be less confusing to use

--uidmap=+100:@$(id -u)  --gidmap=+101:@$(id -g) 

because those options do not change --user

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@flixman
Comment options

@eriksjolund
Comment options

Answer selected by flixman
@flixman
Comment options

@eriksjolund
Comment options

@flixman
Comment options

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