Proxmox and debian quota / docker size limits

ph1823

Member
Jun 10, 2020
3
0
6
24
Good morning all!

Here is for some years, I work on a host, Minecraft for the moment. The site is progressing very well, and we are almost ready to launch it.

But here I have a problem, I would like to limit the disk space of Minecraft servers.

So I have a dedicated server running proxmox, and I tried to put Quota in it by following the wiki: https://wiki.debian.org/fr/Quota#project_quota but he didn't work.

When I try to mount the system file it returns this error to me:
mount: /media/mount.xfs: mount failed: Operation not permitted.

I looked well on the internet, and on the proxmox forum, but the topics found did not resolve my situation.

In addition, I know that this is a bit off topic, but for more security on the server (for example, that a user X with a plugin can not go to user Y), I change the user of the JAR launcher, but I'm not sure that cala is enough, so it would be better to create docker containers for each minecraft server history that it is more secure, right?

I also saw that the container docker allows a file limit too, but I don't know, if this applies to the vsftpd server running on the machine, so should I use docker + quota, or just docker? (in case I want to make docker containers)

So I also try to make a container limited in size, but I also get an error:

docker: Error response from daemon: --storage-opt is supported only for overlay over xfs with 'pquota' mount option.

I find many issues on github, or posts on the docker forums, but none of the techniques work, how to do?

Thank you for your help !
 
Hi,

Docker is not supported by Proxmox VE.
Where did you try to install Docker? (Host, LXC, KVM).
 
Hi, its just for more security. For now, i don't use or, it's juste a Idea.

But, the quota doest Work. If a try to mount fil systeme, apparmor block this. And i dont find how to configure apparmor
 
You did not answer my question directly but I assume you talking about LXC with mp.
Because you meant AppArmor is blocking it.
Is this correct?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!