[lxc-users] problem creating unprivileged containers ...

Ranjib Dey dey.ranjib at gmail.com
Fri Jul 31 22:37:06 UTC 2015


:-(  . the output looks good. check if you can create directories in /tmp .
run the create command with -l debug -o out.log, others will hopefully
point out the issue,



On Fri, Jul 31, 2015 at 3:33 PM, Yonsy Solis <yonsy.s.p at gmail.com> wrote:

> On vie, jul 31, 2015 at 5:24 PM, Ranjib Dey <dey.ranjib at gmail.com> wrote:
>
> are you using `sudo su - ` or something similar to change the user (which
>> is creating container) ?
>>
>
> nop, this is a personal laptop, creating the containers with my user
> (configured in /etc/subuid /etc/subgid too)
>
> cat you share the output of  `cat /proc/self/cgroup` and `id` ?
>>
>
> ======
> ➜  ~  id
> uid=1000(yonsy) gid=1000(yonsy)
> groups=1000(yonsy),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),108(lpadmin),124(sambashare),126(lxd)
> ➜  ~  cat /proc/self/cgroup
> 12:name=systemd:/user/1000.user/c2.session
> 11:perf_event:/user/1000.user/c2.session
> 10:net_prio:/user/1000.user/c2.session
> 9:net_cls:/user/1000.user/c2.session
> 8:hugetlb:/user/1000.user/c2.session
> 7:freezer:/user/1000.user/c2.session
> 6:blkio:/user/1000.user/c2.session
> 5:devices:/user/1000.user/c2.session
> 4:memory:/user/1000.user/c2.session
> 3:cpuacct:/user/1000.user/c2.session
> 2:cpu:/user/1000.user/c2.session
> 1:cpuset:/user/1000.user/c2.session
> ======
>
>
> Yonsy Solis
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150731/f9237879/attachment.html>


More information about the lxc-users mailing list