[lxc-users] idmap, lxd and pylxde

Aron Podrigal aronp at guaranteedplus.com
Thu Jan 26 05:20:33 UTC 2017


you can use lxc.raw for this in lxd ;)

On Wed, Jan 25, 2017, 11:50 PM Fajar A. Nugraha <list at fajar.net> wrote:

> 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
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170126/f2714c30/attachment.html>


More information about the lxc-users mailing list