I’m running docker in a privileged LXC with a volume mounted to a network-share. The mount is accessible docker (as root), but just visible in my container, which is not what I want.
Therefore I tried to bring the container up as user root (I know, that is not the way it should be done):
But when I inspect the process which is run inside the container, it is still running as user abc (UID: 1000). I’d like to give user abc the permission on volume books, but this user doesn’t exist on the host (LXC).
Any help appreciated!