Magnus, did you run that lxc-create with root rights? On 4 September 2014 07:24, Magnus Therning <magnus@xxxxxxxxxxxx> wrote: > On Wed, Sep 03, 2014 at 12:36:23PM -0400, Leonid Isaev wrote: > > On Wed, Sep 03, 2014 at 09:04:37AM +0200, Magnus Therning wrote: > > > For various reasons I'm looking into not using `makechrootpkg` when > > > building the 200+ packages I put into a non-official repo. Obviously > > > it's important to keep the building environment separate from my > > > ordinary system environment. Going to full virtualisation is > > > definitely overkill and the only containers I know of are chroots and > > > docker. > > > > If by chroot you mean also nspawn, then it is mostly equivalent to > > docker and lxc. The only thing bad about systemd-nspawn is its lack > > of easy config through files (it only supports cmdline switches > > which is ridiculously cumbersome). Also, docker is more complex > > than a plain lxc-tools approach. > > As always complex doesn't automatically translate to complicated ;) > > In this particular case I had no issues with following the > instructions I found on docker. While when spending the same amount > of time on getting lxc to work I get stuck almost immediately: > > ~~~~ > % lxc-create -n test -t archlinux > lxc_container: No mapping for container root > lxc_container: Error chowning /home/magnus/.local/share/lxc/test/rootfs to > container root > lxc_container: Error creating backing store type (none) for test > lxc_container: Error creating container test > ~~~~ > > And quick googling didn't turn up anything useful. Reading through > the Linux Containers page [1] didn't help either. > > /M > > [1]: https://wiki.archlinux.org/index.php/Linux_Containers > > -- > Magnus Therning OpenPGP: 0xAB4DFBA4 > email: magnus@xxxxxxxxxxxx jabber: magnus@xxxxxxxxxxxx > twitter: magthe http://therning.org/magnus > > In a hierarchy, every employee tends to rise to his level of incompetence. > -- The Peter Principle >