I actually use virtualhost for websites (wordpress/nextcloud/pydio/…).
Actually I have a small hosted server with RAID1 storage and ext4 filesystem.
I want to use docker to be able to switch easily nginx/php version, have a simpler deployment,…
I test it and it works great.
However, with virtualhost I use the package “quota” to limit space disk storage. This was important for me because websites like nextcloud/pydio can take rapidly a lot of space.
I notice docker don’t have by default a size option for volume or need a specific filesystem or dedicated disk.
Since I can’t add a disk or set another filesystem, how can I reproduce “quota” for container ?
Is it possible to use something like virtual filesystem (something like qcow2) to store volume container and limit size ?
How should I do and if you already encoutered this issue how do you handle it ?