[Lxc-users] Container Filesystem in a file (loopback mount)

Gordon Henderson gordon at drogon.net
Thu Sep 30 13:05:50 UTC 2010


On Thu, 30 Sep 2010, Daniel Lezcano wrote:

> On 09/30/2010 11:04 AM, Gordon Henderson wrote:
>> 
>> Looking to put "hard" limits on a containers filesystem size by creating a
>> fixed-length file, putting a filesystem in it, loopback mounting it, then
>> using that as the containers root ...
>> 
>> I've not tried it yet, but wondering if anyone has done anything like
>> this? Any pitfalls? (Other than maybe performance)
>
> Yep, I tried, no problem.

Great.

> In a near future, we will be able to specify directly the image in 
> lxc.rootfs. The code doing that is ready but there are some problems with the 
> consoles I have to fix before.

Sounds good, thanks!

Gordon




More information about the lxc-users mailing list