Open dxkyy opened 4 days ago
Hi there, thanks for reporting the issue and I am sorry that you are having a bad experience with it.
An initial note of warning that what you are doing is not the officially supported method to move Docker Desktop distributions; you are instead relying on using directly Microsoft WSL's command line utility to import/export WSL distributions (in this case it happens to be the docker-desktop-data
distribution). This may work fine in most cases, but it is preferrable to use the settings menu in Docker Desktop to avoid settings getting out-of-sync with the real state of the system.
That said, it appears that the error you are getting relates to your user having some missing permissions either on the source/destination folder or on the WSL subsystem itself (hence it is likely you'd get a similar error if you tried to move the data via Docker Desktop). Unfortunately, from the error alone I cannot infer much more, but I hope this gives you a starting point to solve your issue.
Description
I exported my docker-desktop data using
wsl --export
and when I now try to import it usingwsl --import docker-desktop-data Z:\dockerdesktop\wsl\data Z:\dockerdesktop\docker-desktop-data-backup.tar --version 2
I get this error:(in german) would look something like this in english: (?)
How do I fix this?
Reproduce
wsl --shutdown
wsl --export docker-desktop-data "Z:\dockerdesktop\docker-desktop-data-backup.tar"
wsl --unregister docker-desktop-data
wsl --import docker-desktop-data Z:\dockerdesktop\wsl\data Z:\dockerdesktop\docker-desktop-data-backup.tar --version 2
Expected behavior
Acutally import the docker desktop data.
docker version
docker info
Diagnostics ID
ACADBD16-8C86-484E-91AF-4B3CE6BE0356/20241127212341
Additional Info
No response