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

Investigate Limiting File System Usage #5

Open
nmagerko opened this issue Jan 26, 2019 · 3 comments
Open

Investigate Limiting File System Usage #5

nmagerko opened this issue Jan 26, 2019 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@nmagerko
Copy link
Collaborator

In other Docker libraries (e.g. in Node) we can specify a disk quota. In the Python version, I was unable to find this option.

We should try to find out how we can access the disk quota option in this project so that users can specify a workdir without being concerned that the code that they're executing will fill up all available space.

@nmagerko
Copy link
Collaborator Author

Seems like it. If you would like to find how to configure the disk quota using that, feel free to take this issue.

@nmagerko nmagerko added the help wanted Extra attention is needed label Jan 27, 2019
@bhuvy2
Copy link

bhuvy2 commented Jan 27, 2019

There is a problem with it that requires more exploration. If the filesystem isn't mounted with the correct options it aborts the entire operation (Error included when trying to spin up a docker daemon). There will probably have to be a design decision made because we won't know if the current filesystem is mounted with the right params until after we try to start a run.

docker.errors.APIError: 500 Server Error: Internal Server Error ("--storage-opt is supported only for overlay over xfs with 'pquota' mount option")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants