Greetings,
My question is related to user mapping of unprivileged container to be able to write to NFS share attached to host. As far as i understand I need to map a user from that container to root user on the host. However what worries me is that this same user within container runs multiple other processes which will be then equivalent to root on host. Currently the share doesnt have any specific access created for it. Is it possible to do the following - if my user have id 109 inside the container, which i guess maps to 100109 on the host, to create share write permission for id 100109? Does the rest of host processes or other nodes, will keep access to this share and does user from within the container will gain only write access to the share but still not get executed as root on the host? At what uid on host, process from other containers get mapped to?
My question is related to user mapping of unprivileged container to be able to write to NFS share attached to host. As far as i understand I need to map a user from that container to root user on the host. However what worries me is that this same user within container runs multiple other processes which will be then equivalent to root on host. Currently the share doesnt have any specific access created for it. Is it possible to do the following - if my user have id 109 inside the container, which i guess maps to 100109 on the host, to create share write permission for id 100109? Does the rest of host processes or other nodes, will keep access to this share and does user from within the container will gain only write access to the share but still not get executed as root on the host? At what uid on host, process from other containers get mapped to?