<div dir="ltr">as a normal user (not root) you can only use the download template. <div>i.e. </div><div>lxc-create -n foo -t download -d ubuntu -a amd64 -r trusty</div><div>, 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: <a href="https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/">https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/</a></div><div><br></div><div>cheers</div><div>ranjib</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 12, 2014 at 12:10 PM, Zmudzinski, Krystof C <span dir="ltr"><<a href="mailto:krystof.c.zmudzinski@intel.com" target="_blank">krystof.c.zmudzinski@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I had apt-get installed lxc on my Ubuntu 14.04 and everything was good. 
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Then I installed the latest snapshot from <a href="https://github.com/lxc/lxc" target="_blank">
https://github.com/lxc/lxc</a> and <u></u><u></u></p>
<p class="MsoNormal">now most of the commands just say this:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Insufficent privileges to control…<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Lxc-create has other problems:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">root@se:~/lxc-create -n cn_03 -t ubuntu<u></u><u></u></p>
<p class="MsoNormal">lxc_container: Bad address - failed to execute template /usr/share/lxc/templates/lxc-ubuntu<u></u><u></u></p>
<p class="MsoNormal">lxc_container: container creation template for cn_03 failed<u></u><u></u></p>
<p class="MsoNormal">lxc_container: Error creating container cn_03<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">What am I doing wrong?<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Krystof<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>

<br>_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br></blockquote></div><br></div>