Probably your install incantation wasn't quite right. Since you're running on 14.04 you could simply do:
sudo add-apt-repository ppa:ubuntu-lxc/daily sudo apt-get update sudo apt-get -y dist-upgrade to get the latest daily ppa package, which is basically (and right now exactly0 latest git HEAD. Quoting Zmudzinski, Krystof C ([email protected]): > I’m executing everything as root. > > Krystof > > From: lxc-users [mailto:[email protected]] On > Behalf Of Ranjib Dey > Sent: Friday, September 12, 2014 12:32 PM > To: LXC users mailing-list > Subject: Re: [lxc-users] Insufficent privileges to control… > > 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 > <[email protected]<mailto:[email protected]>> 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@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 > [email protected]<mailto:[email protected]> > http://lists.linuxcontainers.org/listinfo/lxc-users > > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
