[lxc-users] Insufficent privileges to control…
Ranjib Dey
dey.ranjib at gmail.com
Fri Sep 12 19:32:20 UTC 2014
as a normal user (not root) you can only use the download template.
i.e.
lxc-create -n foo -t download -d ubuntu -a amd64 -r trusty
, download templates downloads tarball of rootfs and creates the container,
unlike other template, which construct the container using debootstrap/yum
etc. That process involves device creation and other operations which is
not possible as normal user. Stephane Graber has a nice post on it:
https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/
cheers
ranjib
On Fri, Sep 12, 2014 at 12:10 PM, Zmudzinski, Krystof C <
krystof.c.zmudzinski at intel.com> wrote:
> Hi,
>
>
>
> I had apt-get installed lxc on my Ubuntu 14.04 and everything was good.
>
>
>
> Then I installed the latest snapshot from https://github.com/lxc/lxc and
>
> now most of the commands just say this:
>
>
>
> Insufficent privileges to control…
>
>
>
> Lxc-create has other problems:
>
>
>
> root at se:~/lxc-create -n cn_03 -t ubuntu
>
> lxc_container: Bad address - failed to execute template
> /usr/share/lxc/templates/lxc-ubuntu
>
> lxc_container: container creation template for cn_03 failed
>
> lxc_container: Error creating container cn_03
>
>
>
> What am I doing wrong?
>
>
>
> Krystof
>
>
>
>
>
> _______________________________________________
> 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/20140912/4147ebb3/attachment.html>
More information about the lxc-users
mailing list