-
Notifications
You must be signed in to change notification settings - Fork 120
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
No space left on device even after system prune -a --force
#3529
Comments
I have the same error message on windows |
Increasing the amount of memory allocated to Docker Engine may alleviate this problem. I increased from 2 GB to 12 and the containers I was running were able to grow from 3.1GB to 5.4GB in size, where they were killed prior. My problem was probably due to some huge overlayfs layer that had to be cached in memory until it could be flushed to disk. Obviously, allocating 12 GB of RAM to Docker Engine is a bit much, so you can try scaling down to something like 4 GB of RAM and up the swap to 4 GB. YMMV. |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/remove-lifecycle stale |
Re-confirmed that this is still an open bug and it is not correct to close this. |
I had the same issue today. |
This issue still exists and should not be closed. |
I have the same issue. What happens is that during a build a container is reaching full capacity of 174.9GB and docker goes out of memory. Not solved with |
I'm considering opening a new issue and pointing to this one since it seems like the project doesn't look at closed issues. Opinions? |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
Running
docker run -rm
commands won't cause disk full errors for all commands.That
docker system prune -a --force
will free up said disk space issues.Actual behavior
executing a
docker run
command leads to this errorIf I run
docker ls
I see a few orphaned images but not a huge amount.Running
docker system prune -a -m
and re-running does not alleviate the issue.Build Command
Run Command
docker run -a stdin -a stdout -a stderr --rm --mount source=example,target=/home/pytest example_pytest py.test --cov
Dockerfile
Deleting
Docker.raw
is a temporary fixThis ticket has a user delete the
Docker.raw
file as a work around for a similar issue. My Docker.raw file is 60Gb according to ls.Deleting the
Docker.raw re-running the
run` command does fix my issue. For 2-3 runs fo the run command and then I'm back to getting disk space errors.Information
Please, help us understand the problem. For instance:
Is it reproducible?
I have not attempted this on another computer yet.
Is the problem new?
Yes
Did the problem appear with an update?
I did download the 2.0.0.3 update on the same day
macOS Version:
The text was updated successfully, but these errors were encountered: