Hi, Yes, starting with Ubuntu 12.10 we ship a "lxc-container-default-with-nesting" profile that can be set as lxc.aa_profile in your container config which should work fine for nested containers.
In Ubuntu 13.04, you likely also want to add the following to your config: lxc.hook.mount = /usr/share/lxc/hooks/mountcgroups On 04/16/2013 02:08 PM, brian mullan wrote: > In Stephane Graber's great LXC blog: > > Stephane indicated changes to apparmor etc for 12.10 would remove need > to use his scripts. Did that get implemented and is there any example > of configuring a Nested LXC container in 12.10 or for 13.04 available > that anyone knows of? > thanks. > > > /Container nesting > (from: /https://www.stgraber.org/2012/05/04/lxc-in-ubuntu-12-04-lts/) > > /You can now start a container inside a container!/ > > /For that to work, you first need to create a new apparmor profile > as the default one doesn’t allow this for security reason./ > > /I already did that for you, so the few commands below will download > it and install it in /etc/apparmor.d/lxc/lxc-with-nesting. _This > profile (or something close to it) will ship in Ubuntu 12.10 as an > example of alternate apparmor profile for containe_/_r._ > > Thanks for any update... > > _Brian_ > > _ > _ > > _ > _ > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > > > > _______________________________________________ > Lxc-users mailing list > Lxc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lxc-users > -- Stéphane Graber Ubuntu developer http://www.ubuntu.com
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users