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
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?
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