-
Notifications
You must be signed in to change notification settings - Fork 116
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
docker system df, Error snapshot not found #6509
Comments
Hi @xiangzhang1, thanks for detailed explanation. Effectively, Images screen makes that |
Yes, |
I had the same problem which was the result of a lack of space on my disk. This corrupted my docker image cache, even when there was enough disk space afterwards. My solution was a complete removal of the cache and starting from scratch. |
Have faced with same stuff, when occasionally ran out of disk space (v4.14.1) |
I have this issue also, however I'm running on windows and my ssd has space, but I keep getting docker running out of disk space during builds - I think the build cache isn't getting used properly and resulting in 30+GB caches that don't get reused for some reason. I am also unable to run a My local docker config has a 104GB virtual disk limit and I'm running docker desktop 4.16.3 (96739). |
@jedevc can this be related to moby/buildkit#3605 / moby/moby#44943 ? (don't think so though, as desktop is not yet on buildkit 0.10 / 0.11?) |
This looks the same as moby/buildkit#3599 to me. As raised on the community slack here:
|
There hasn't been any activity on this issue for a long time. Prevent issues from auto-closing with a /lifecycle stale |
Overview
Whenever I go to Docker Desktop Dashboard -> Images, the error message "Unable to calculate image disk size" pops up. When running
docker system df
, I getError response from daemon: error getting build cache usage: failed to get usage for j3svhcbbl74vqb00pwkqjgj8q: snapshot 98mm1nreuc65eum0wpl436h5t not found
. I do not know how to reproduce the problem, but vaguely remember Ctrl-C'ing duringapt-get install build-essentials
duringdocker build
. While I've only used Docker for <10 containers and <5 hours, somehow I get the feeling that maybe during some failed unsafe transaction, some database integrity is compromised, and docker ends up looking for some snapshot that it didn't get the memo was deleted.Expected and Actual behavior
Expected behavior: No error message. Disk usage is shown, just like it was shown 5 minutes ago.
Actual behavior: Red banner with message "Unable to calculate image disk size". "Last refresh: never".
docker system df
in Terminal.Expected behavior: No error message.
Actual behavior:
Error response from daemon: error getting build cache usage: failed to get usage for j3svhcbbl74vqb00pwkqjgj8q: snapshot 98mm1nreuc65eum0wpl436h5t not found
.Information
Output of
/Applications/Docker.app/Contents/MacOS/com.docker.diagnose check
Steps to reproduce the behavior
I am unable to reproduce the unclean behavior cleanly. Since the problem is with the Docker daemon and not with any particular image/container, I am unable to provide a Dockerfile.
I was unable to fix it by restarting my laptop, but was able to fix it by going to Debug -> Clean / Purge data.
The text was updated successfully, but these errors were encountered: