roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

Disk Image location movement

Open icariantk opened this issue 10 months ago • 3 comments

Tell us about your request

When you select Settings->Resources-Advanced and change the location of the current WSL data, a single message of "this might take long time" is shown in the screen after Apply & Restart is clicked, after a little while, everything looks like the process ended, when its not.

A progress bar, or at least "process hasnt finished yet" label could be usefull to track the movement.

Which service(s) is this request for? Docker.Desktop

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? Not knowing when the transaction will end, and allowing to move around docker settings lead to a lost of time

Are you currently working around the issue? A single message is not enought to make sure completion of the task is visible

Additional context

This is my current screen. The process is not finished as i can tell by the Network Usage.

Image

Image

I can hit Cancel, close Docker, reboot computer, and i will have 2, 256GB data files, lingering, because i would never know how is this movement going.

Once y tried to delete the end file while it was being copied, and something like robocopy was doing its job. That was the hint that told me that the transaction was still ongoing...

icariantk avatar Apr 11 '25 17:04 icariantk

Additional info, after 1 hour, the file was transfered, but at restart Docker, it broke the software somehow:

deploying WSL2 distributions ensuring main distro is deployed: deploying "docker-desktop": importing WSL distro "{Error de aplicación} Se produjo la excepción %s (0x\r\nCódigo de error: Wsl/Service/ERROR_UNHANDLED_EXCEPTION\r\n" output="docker-desktop": exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --import docker-desktop Y:\Docker\DockerDesktopWSL\main C:\Program Files\Docker\Docker\resources\wsl\wsl-bootstrap.tar --version 2: {Error de aplicación} Se produjo la excepción %s (0x Código de error: Wsl/Service/ERROR_UNHANDLED_EXCEPTION : exit status 0xffffffff checking if isocache exists: CreateFile \wsl$\docker-desktop-data\isocache: The network name cannot be found.

Diagnostics: 17FD98A2-318B-4EF8-AA5D-B1C850514904/20250411175435

icariantk avatar Apr 11 '25 17:04 icariantk

Thank you for reporting this! We are currently investigating. Meanwhile, can I confirm with you the following:

  1. Approximately how large was your Docker data that needed to be transferred?
  2. Did you have any containers running when you initiated the data location change?
  3. Have you successfully moved your WSL data location in previous Docker Desktop versions?
  4. Were you able to restore Docker Desktop functionality after the transfer failed? If so, what steps did you take?
  5. Were you using any custom WSL configurations (e.g. custom WSL kernel)?

KatTomrushka avatar May 08 '25 13:05 KatTomrushka

Thank you for reporting this! We are currently investigating. Meanwhile, can I confirm with you the following:

  1. Approximately how large was your Docker data that needed to be transferred?
  2. Did you have any containers running when you initiated the data location change?
  3. Have you successfully moved your WSL data location in previous Docker Desktop versions?
  4. Were you able to restore Docker Desktop functionality after the transfer failed? If so, what steps did you take?
  5. Were you using any custom WSL configurations (e.g. custom WSL kernel)?
  1. 256GB
  2. Yes
  3. Didnt try other versions
  4. Reinstalled docker
  5. No

icariantk avatar May 20 '25 17:05 icariantk