[lxc-users] How to mount directories from $HOME into an unprivileged container?

Karma Kolabor collaborista at gmail.com
Mon Aug 17 15:37:40 UTC 2015


Hi Serge,

thanks for the quick reply! the "hole" word made it click! I added
this to the config, now it seems to work:

lxc.id_map = u 0 100000 1000
lxc.id_map = g 0 100000 1000
lxc.id_map = u 1000 1000 1
lxc.id_map = g 1000 1000 1
lxc.id_map = u 1001 101001 64535
lxc.id_map = g 1001 101001 64535


If we assume that a 'hole' is basically 'nothing' or 'empty space',
then I can truly say now:
"so much trouble for nothing!"  :)

Thanks again and have a nice day!

Karma


More information about the lxc-users mailing list