neko-rooms icon indicating copy to clipboard operation
neko-rooms copied to clipboard

Limit storage size

Open gbrian opened this issue 2 years ago • 3 comments

I'd likew to limit the storage size for each container. https://docs.docker.com/engine/reference/commandline/run/#set-storage-driver-options-per-container

gbrian avatar Jan 05 '23 14:01 gbrian

So this is only the size of containers rootfs and no volumes, right?

m1k1o avatar Jan 07 '23 11:01 m1k1o

Such a good question... not using volumes yet. I have to enable them to keep status between room restarts but then max disk size restriction must apply.

gbrian avatar Jan 09 '23 12:01 gbrian

Maybe for created volumes it would be possible: https://stackoverflow.com/questions/40494536/how-to-specify-the-size-of-a-shared-docker-volume

But for mounting existing folder from disk, might not work this way.

m1k1o avatar Jan 12 '23 10:01 m1k1o