[lxc-users] problem creating unprivileged containers ...
Ranjib Dey
dey.ranjib at gmail.com
Fri Jul 31 22:24:04 UTC 2015
are you using `sudo su - ` or something similar to change the user (which
is creating container) ?
cat you share the output of `cat /proc/self/cgroup` and `id` ?
On Fri, Jul 31, 2015 at 3:13 PM, Yonsy Solis <yonsy.s.p at gmail.com> wrote:
> Hi
>
> new laptop for development operations works in general.
>
> I try the creation of some unprivileged container and this happens:
>
> ➜ ~ lxc-create -t download -n tbase -- -d ubuntu -r trusty -a amd64
> mktemp: failed to create
> directory via template ‘/tmp/user/1000/tmp.XXXXXXXXXX’: Permission denied
> lxc_container: lxccontainer.c: create_run_template: 1108
> container creation template for tbase failed
> lxc_container: lxc_create.c: main: 274 Error creating container tbase
>
> my config is normal, .config/lxc/default.conf created.
>
> base distro Ubuntu 14.04 LTS (with linux-generic-lts-vivid kernel) lxc
> 1.1.2 from ppa.
>
> any posible reason for the problem? more data needed for diagnostic ?
>
> P.D. create normal (with sudo) containers works without problems ...
>
>
> 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/8d457112/attachment.html>
More information about the lxc-users
mailing list