Cannot install Docker Desktop. The error message shows: "Value cannot be null. Parameter name: path."

  • Docker Desktop Version: latest version
  • WSL 2 Version: Ubuntu
  • OS: Windows 11 Home Edition

I successfully ran Docker on Ubuntu (this was done after I failed to install Docker Desktop. I’m not sure if there will be any conflicts). However, for some reasons, I have to use Docker Desktop. I’ve made the following attempts:

1.Enabled the virtual platform, the Windows Subsystem for Linux, and the Windows Hypervisor Platform. Since it’s the Home Edition, I also installed Hyper-V.
2.Completely removed Docker and then reinstalled it. I even deleted the relevant content in the registry. It seems that Docker Desktop has never run on my computer, as I can’t find the relevant folders and logs.
3.I guessed that having Chinese characters in the path might have an impact, so I changed to an English - named user for installation, but it still shows the same error.

I really want to use Docker Desktop and sincerely hope to get your advice!!!

Please, check this issue and check if you have the settings json after getting the error message: Docker Desktop fails to start: Value cannot be null Parameter name: path1 in Path.Combine · Issue #3375 · docker/for-win · GitHub

Thank you! I carefully read this answer. Although the problem was different, I found the hidden log. After AI analysis, it was concluded that it might be due to an accidental interruption during the first download, with residual information in the registry, or there were Chinese characters in the download path. I solved these problems one by one and reinstalled it. This is the first time I’ve learned so much computer knowledge. The experience of solving problems in this way is very valuable to me. Thank you very much for your thoughtful reply. Wish you a happy life!