[lxc-users] idmap, lxd and pylxde

Fajar A. Nugraha list at fajar.net
Thu Jan 26 04:50:30 UTC 2017


On Wed, Jan 25, 2017 at 10:12 PM, Witold Filipczyk <gglater62 at gmail.com>
wrote:

> On Wed, Jan 25, 2017 at 08:36:23AM -0500, brian mullan wrote:
> > Witold
> >
> > There is a tool called "fuidshift" you can use to shift the gid/uid for
> you.
> >
> > http://manpages.ubuntu.com/manpages/xenial/man1/fuidshift.1.html
> >
> > This previous lxc-users mailer thread can also give you some idea of its
> > use:
> >
> > http://lxc-users.linuxcontainers.narkive.com/atlj58eG/proper-usage-of-
> fuidshift
> >
> > fuidshift will be installed along with some other "tools" if you install
> > the lxd-tools package:
> >
> > *sudo apt-get install lxd-tools*
>
> Thanks for the reply, but must be some simpler method.
>
> In lxc configuration it was:
> lxc.id_map = u 0 200000 65536
> lxc.id_map = g 0 200000 65536
>
> How to express it in lxd and pylxd?
>
>
Short version: AFAIK that's not possible in lxd. You'd either use
privileged container, or unpriv container (with the same mapping for all
containers).

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170126/6b037481/attachment.html>


More information about the lxc-users mailing list