I am adding disk quota to my Ubuntu dock container To add quotas support, edit the mount option and Usually you can edit / etc / fstab and add mount options. My question, how would I add a mount option to the docking container? You don actually do not mount the container disc anywhere to install quota in the Docker Container () There is a feature request for, so there is currently no easy way. However, apparently there are some functions. Use Device Mapper as a limit Containers docking contain up to 10 GB of disk space, per container (which is the Deputy Mapper Store driver is by default). So your best option is to replace the default value for new containers, but again, it is my understanding that you will need to recreate the containers Therefore, if you 5 gigabytes, you will write Source Usrquota is explained here like:
Docker-D - store-op dm.basesize = 5G
setquota to limit this userid .
No comments:
Post a Comment