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

check the storage space before trying to spin container #657

Open
dariuszd21 opened this issue Sep 19, 2024 · 1 comment
Open

check the storage space before trying to spin container #657

dariuszd21 opened this issue Sep 19, 2024 · 1 comment
Labels
Enhancement New feature or request

Comments

@dariuszd21
Copy link
Contributor

What needs to get done

Check if there is sufficient storage space (e.g. in percentage) before creating the container, so it will not weirdly error out during the build.

Why it needs to get done

Currently we just run the container and it may fail in the random moment if the whole storage space is occupied or almost occupied. We should at least warn the user to clear out some space before build

@dariuszd21 dariuszd21 added the Enhancement New feature or request label Sep 19, 2024
@lengau
Copy link
Contributor

lengau commented Sep 19, 2024

I'm not sure how we could feasibly do this or whether it's craft-providers's problem. Maybe craft-application should warn if the user has, say, <2 gigs remaining in the relevant place?

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