[lxc-users] lxc launch fail: LXD doesn't have a uid/gid allocation
Serge E. Hallyn
serge at hallyn.com
Wed Mar 22 15:06:51 UTC 2017
Quoting Himanshu Neema (hneema at syr.edu):
> Hello,
>
>
> I am trying to launch image as "lxc launch ubuntu:16.04" but it fails with error:
>
>
> "error: LXD doesn't have a uid/gid allocation. In this mode, only privileged containers are supported."
>
>
> I have following mappings in my /etc/subuid & /etc/subgid , and I'm executing the launch command as user "sc2"
>
>
> lxd:100000:65536
> root:100000:65535
Can you try changing the root allocation to 65536 instead of 65535?
>
>
> Can you please help me fix the problem?
>
>
> Thanks in advance.
>
>
> Himanshu
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list