On Wed, Jan 25, 2017 at 10:12 PM, Witold Filipczyk <gglate...@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@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users