Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit storage size #83

Open
gbrian opened this issue Jan 5, 2023 · 3 comments
Open

Limit storage size #83

gbrian opened this issue Jan 5, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@gbrian
Copy link
Contributor

gbrian commented Jan 5, 2023

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

@m1k1o
Copy link
Owner

m1k1o commented Jan 7, 2023

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

@m1k1o m1k1o added the enhancement New feature or request label Jan 7, 2023
@gbrian
Copy link
Contributor Author

gbrian commented Jan 9, 2023

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.

@m1k1o
Copy link
Owner

m1k1o commented Jan 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants