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

Yonsy Solis yonsy.s.p at gmail.com
Fri Jul 31 22:33:03 UTC 2015


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



More information about the lxc-users mailing list