[lxc-users] Setting a limit on the disk size that a container can use

Guido Jäkel G.Jaekel at DNB.DE
Sun Mar 16 09:07:57 UTC 2014


... or use an image file on an abitrary file system on the host. Just create a file containing a filesystem and use it direct (no loop device required) as rootfs for the container.

Guido

On 2014-03-16 07:26, Tamas Papp wrote:
> 
> On 03/16/2014 06:01 AM, David Shwatrz wrote:
>> Hello,
>> What is the best way to set a limit on the disk size that a container
>> root filesystem can use ?
> 
> Either use partition (or zfs/btrfs fisystems and volumes) or run
> containers as unprivileged users + quota.
> 
> 
> tamas



More information about the lxc-users mailing list