[lxc-devel] automatic user id mapping?

Tycho Andersen tycho.andersen at canonical.com
Thu Aug 6 19:53:53 UTC 2015


Hi Harald,

On Thu, Jul 30, 2015 at 03:42:49PM +0200, Harald Dunkel wrote:
> Hi folks,
> 
> I need local resource limits inside each container. Problem:
> UID conflicts between containers. Setting lxc.id_map is *highly*
> painful, because it just moves the burden to the admin.
> 
> An automatic solution to avoid UID and GID conflicts between
> containers would be very helpful. Is there hope? Did I miss
> something in the documentation?

Right now with LXC/LXD that's your best bet. We do have per-container
ID maps on the TODO list for LXD [1], and that will probably come with
a nice way of allocating separate ranges if you like.

[1]: https://github.com/lxc/lxd/issues/164

Tycho

> 
> Regards
> Harri
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list