PS C:\WINDOWS\system32> cd C:\Users\Administrator\ PS C:\Users\Administrator> docker images REPOSITORY TAG IMAGE ID CREATED SIZE wessystemhostd latest 0be64f323478 14 hours ago 398MB wessystemhostd dev 2d44f3d73c31 17 hours ago 212MB mcr.microsoft.com/dotnet/aspnet 7.0 ec861be01768 6 weeks ago 212MB PS C:\Users\Administrator> wsl --shutdown PS C:\Users\Administrator> wsl -l -v NAME STATE VERSION * docker-desktop Stopped 2 docker-desktop-data Stopped 2 PS C:\Users\Administrator> wsl --export docker-desktop-data D:\Docker\docker-desktop-data.tar 正在导出,这可能需要几分钟时间。 操作成功完成。 PS C:\Users\Administrator> wsl --unregister docker-desktop-data 正在注销。 操作成功完成。 PS C:\Users\Administrator> wsl --import docker-desktop-data D:\Docker\wsl\data D:\Docker\docker-desktop-data.tar --version 2 正在导入,这可能需要几分钟时间。 操作成功完成。 PS C:\Users\Administrator> docker images error during connect: Head "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/_ping": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified. PS C:\Users\Administrator> docker images REPOSITORY TAG IMAGE ID CREATED SIZE wessystemhostd latest 0be64f323478 14 hours ago 398MB wessystemhostd dev 2d44f3d73c31 17 hours ago 212MB mcr.microsoft.com/dotnet/aspnet 7.0 ec861be01768 6 weeks ago 212MB PS C:\Users\Administrator>