[systemd-devel] systemd-nspawn map UID/GID between cointainer and host

basti mailinglist at unix-solution.de
Wed Jul 19 19:16:43 UTC 2017


Hello,
I have some users inside container hat had the same uid/GID on host.
The files are bind to container and has rights "700" on host.
I can't access files inside container (permission denied).
so far so good.

Is there a way to map uid/gid from host to container or from container
to host,
that user with uid 1004 on container can access files owned by user with
uid 1004 on host?

there are multiple uid so that  --private-users option is not usable I
think.

Best regards,
basti


More information about the systemd-devel mailing list