By default, Docker Desktop for Window will create 2 distros below
docker-desktop
docker-desktop-data
If we access the path %LOCALAPPDATA%/Docke...
For further actions, you may consider blocking this person and/or reporting abuse
This seemed to move
%LOCALAPPDATA%\Docker\wsl\data\ext4.vhdx
, but left%LOCALAPPDATA%\Docker\wsl\distro\ext4.vhdx
in place, which is currently in use by Docker Desktop.Is there a way to export/move this to a different drive as well?
You can do the same thing but change for docker-desktop
wsl -l -v
wsl --shutdown docker-desktop
wsl --export docker-desktop E:\docker-desktop\docker-desktop.tar
wsl --unregister docker-desktop
wsl --import docker-desktop E:\docker-desktop\distro E:\docker-desktop\docker-desktop.tar --version 2
Thanks very much for the procedure. It is working on Win11 WSL2. But before 'Step3: Start Docker' it was necessary to restart Win (as it is also recommended in 'Resource#2 Moving Docker wsl files').
Remark: Resource#1 link is no more valid.
Very helpful! Thank you!
After I moved the docker-desktop-data (ext4.vhdx) All my folders under /mnt folder was empty.
Thanks man! You've helped me a lot... :D
I am joining the choir singing your praise ! Thanks a bunch :)
Thank you
Hey, thank you for this! Good hint :-)
thank you, man!
My C drive thanks you!
Thanks a lot. This helped me a lot. I was so close to partitioning my pc to use more space in C :D and found this page..
Thank you so much, it helped me so much.
Thank you Kim.
Thank you! I hope to resolve my issue smoothly.
Thanks a lot, that saved my C drive!