Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Privileged LXC GID and UID confusion

$
0
0
So, Im confused (What else is new). I´ve decided to dive in to LXC as this suits my needs as of this moment.

I am running a Privileged container (mediaserver) and mounting through "lxc.mount.entry".
This works fine but thats a coincidence as my user and the lxc user has the same UID (at least thats my theory)

Take a look at this:

LXC
LXC.jpg

HOST
Host.jpg


I´m guessing the same goes for GID?

So the question is: Is there a way to force the LXC to use a different ID or in anyway separate them from the main system ID´s so I could have more control.
Attached Images

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>