docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.85k stars 287 forks source link

unable to calculate image disk size docker #13707

Open riyansn opened 11 months ago

riyansn commented 11 months ago

Description

I was using docker desktop and everything run smoohtly. but last time (around a month ago) i was trying to build an image and realize that my SSD space is 0 the the docker become stuck then say: "unable to calculate image disk size docker". i have try to reinstall everything but i still get same error message. can i know how to fix it?

Reproduce

after i try to build an image it failed and then give me notification unable to calculate image disk size, and after that my docker is broke

Expected behavior

No response

docker version

stuck, no output given

docker info

stuck no output given

Diagnostics ID

"unable to calculate image disk size docker"

Additional Info

No response

jcrben commented 1 month ago

An earlier report: https://github.com/docker/for-win/issues/13646

I figured out the cause in my case: my $USERPROFILE/.wslconfig had this:

[wsl2]
kernelCommandLine=ipv6.disable=1

I commented it out, executed wsl --shutdown and now it's working.

phamtrongthang123 commented 1 month ago

An earlier report: #13646

I figured out the cause in my case: my $USERPROFILE/.wslconfig had this:

[wsl2]
kernelCommandLine=ipv6.disable=1

I commented it out, executed wsl --shutdown and now it's working.

Same thing for me. Good job figuring this out!

audunru commented 1 month ago

Same thing here. Thanks