Docker Community Forums

Share and learn in the Docker community.

Valid values for --userns option

docker

(Vighneshbirodkar) #1

Hello

I wanted to know what are the acceptable values for the --userns option for the run command. I was able to find online that --userns=host works. Is there a way to get the container to use a specific mapping in /etc/subuid with this option?

Thanks
Vighnesh