[Lxc-users] Using common rootfs for multiple containers

Serge Hallyn serge.hallyn at ubuntu.com
Wed Jul 10 16:57:24 UTC 2013


Quoting Niklas Fuchs (nkfuchs at yahoo.de):
> This sound really great. I was wondering if anyone uses user namespaces
> and shared rootfs?
> I got the roblem the skeleton of the ro-root on the host has uid 0 for
> the root files, but the guest maps them to nobody, so i cant use shared
> rootfs and user namespaces together. I cant think of a better solution
> than rsyncinging and uidmapshifting the rootfs for every container.

Yeah that scenario has occurred to me before.  I think a lightweight
stackable fs which maps uids is going to be desirable.  For a trivial
first implementation it should be easy to do as a fuse fs.  If you
decide to pursue that, please to keep us uptodate!

-serge




More information about the lxc-users mailing list