Re: [Lxc-users] Rootfs as rw overlay on top of ro directory

2013-06-14 Thread Ivan Vilata i Balaguer
Ivan Vilata i Balaguer (2013-06-13 16:36:49 +0200) wrote: Serge Hallyn (2013-06-11 17:11:47 +0200) wrote: The pre-start and post-stop routines run in the monitor's namespace. The pre-mount routine runs in the container's namespace. You might try moving the pre-mount stuff all into pre-start

Re: [Lxc-users] Rootfs as rw overlay on top of ro directory

2013-06-13 Thread Ivan Vilata i Balaguer
Hi, sorry for being so late with the reply, I wanted to test some of your suggestions before. Serge Hallyn (2013-06-11 17:11:47 +0200) wrote: This is really cool, first off. I'd like to extend the built-in overlayfs backing store support a bit, but there will also be room for more powerful

[Lxc-users] Rootfs as rw overlay on top of ro directory

2013-06-11 Thread Ivan Vilata i Balaguer
Hi everyone, I'm doing some tests on containers having a union rootfs (using Aufs in Debian) consisting of a writable directory overlaid on top of a read-only mount coming from a Squashfs image file. The configuration described below seems to work pretty well with lxc 0.9.0.alpha3 and Linux

Re: [Lxc-users] Rootfs as rw overlay on top of ro directory

2013-06-11 Thread Serge Hallyn
This is really cool, first off. I'd like to extend the built-in overlayfs backing store support a bit, but there will also be room for more powerful setups using mount hooks. I'd like to add your mount hook into the set of listed examples, if you don't mind. The pre-start and post-stop routines

Re: [Lxc-users] Rootfs as rw overlay on top of ro directory

2013-06-11 Thread Rob Landley
On 06/11/2013 04:07:27 AM, Ivan Vilata i Balaguer wrote: Hi everyone, I'm doing some tests on containers having a union rootfs (using Aufs in Debian) consisting of a writable directory overlaid on top of a read-only mount coming from a Squashfs image file. The configuration described

Re: [Lxc-users] Rootfs as rw overlay on top of ro directory

2013-06-11 Thread Michael H. Warfield
On Tue, 2013-06-11 at 12:19 -0500, Rob Landley wrote: On 06/11/2013 04:07:27 AM, Ivan Vilata i Balaguer wrote: Hi everyone, I'm doing some tests on containers having a union rootfs (using Aufs in Debian) consisting of a writable directory overlaid on top of a read-only mount