You can limit disk space that individual users and groups in a container can use with standard Linux tools from the quota package.
Before you can set disk quotas in a container, you will need to enable them for this container as follows:
-
Set
QUOTAUGIDLIMITto1in container configuration file (/etc/vz/conf/<UUID>.conf) or run the commandprlctl set <UUID> --quotaugidlimit 1. - Restart the container.