Im still learning, so I'm sorry if this maybe seems like a stupid question.
I have an lxc which already has these mappings so it can acces my mounted filesystem properly
Besides these mappings i would also like to map the render user from the host to the container
The gid's are as follows
render:x:106: lxc
render:x:104: host
i already tried the following but it throws an error:
I have an lxc which already has these mappings so it can acces my mounted filesystem properly
Code:
lxc.idmap: g 0 100000 1000
lxc.idmap: u 0 100000 1000
lxc.idmap: u 1000 1000 1
lxc.idmap: g 1000 1000 1
lxc.idmap: u 1001 101000 64535
lxc.idmap: g 1001 101000 64535
Besides these mappings i would also like to map the render user from the host to the container
The gid's are as follows
render:x:106: lxc
render:x:104: host
Code:
lxc.idmap = g 106 104 1
Code:
lxc.idmap: invalid map entry 'g 106 104 1': container gid 106 is also mapped by entry 'g 0 100000 1000'
lxc_map_ids: 3701 newgidmap failed to write mapping "newgidmap: write to gid_map failed: Invalid argument": newgidmap 156125 0 100000 1000 1000 1000 1 1001 101000 64535 106 104 1
lxc_spawn: 1788 Failed to set up id mapping.