Hello,
I have trouble to access a bind mount from inside the container and Im unsure, how to solve it. The container is created unprivileged and contains a Ubuntu 18.04.
Each file that is created inside the container, should have uid=1197 and gid=1000 on the host.
I created two bind mounts for a the container 197:
And I can see it inside:
I created a new group "datauser" inside the container and on the host with gid 1000.
but now I'm lost, no idea what to do next..
Maybe anybody can direct me in the correct direction?
Thanks in advance!
Thomas
I have trouble to access a bind mount from inside the container and Im unsure, how to solve it. The container is created unprivileged and contains a Ubuntu 18.04.
Each file that is created inside the container, should have uid=1197 and gid=1000 on the host.
I created two bind mounts for a the container 197:
Code:
mp0: /sclass_temp/svn,mp=/data/svn,mountoptions=nodev;noexec
mp1: /sclass_temp/test,mp=/data/test
And I can see it inside:
Code:
# ls -lan /data/
total 10
drwxr-xr-x 4 0 0 4 Feb 5 18:31 .
drwxr-xr-x 22 0 0 22 Feb 5 18:52 ..
drwxr-xr-x 2 65534 65534 2 Feb 5 18:07 svn
drwxr-xr-x 2 65534 65534 2 Feb 5 18:07 test
I created a new group "datauser" inside the container and on the host with gid 1000.
but now I'm lost, no idea what to do next..
Maybe anybody can direct me in the correct direction?
Thanks in advance!
Thomas