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

Daniel Lezcano dlezcano at fr.ibm.com
Thu Sep 30 09:13:03 UTC 2010


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.

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.




More information about the lxc-users mailing list