First stop the container, and then, for example, run:
vzctl set 200 --quotaugidlimit 3000 --save
200 being the VMID. Replace with the correct VMID.
Finally, you may also need to run the following on the actual VPS itself: