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.
%LOCALAPPDATA%\Docker\wsl\data\ext4.vhdx
%LOCALAPPDATA%\Docker\wsl\distro\ext4.vhdx
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
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This seemed to move
%LOCALAPPDATA%\Docker\wsl\data\ext4.vhdx, but left%LOCALAPPDATA%\Docker\wsl\distro\ext4.vhdxin 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