Windows Modules Installer
Note I used a tool [1] to do this, but I think you can also just use the normal Services App.
https://github.com/WereDev/Wu10Man
I tried everything (reboot, different versions 2.5, 3.0, 3.3, power, disabling real-time protection). Only increasing timeout helped me:
Click Start, click Run, type Regedit, and then click OK.
Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
In the right pane, locate the ServicesPipeTimeout entry.
Note If the ServicesPipeTimeout entry does not exist, you must create it. To do this, follow these steps:
On the Edit menu, point to New, and then click DWORD Value.
Type ServicesPipeTimeout, and then press ENTER.
Right-click ServicesPipeTimeout, and then click Modify.
Click decimal, type 60000, and then click OK.
–
I faced the same issue while installing Docker 3.5.0
Download failed: Could not find a part of the path ‘C:\Users\name\AppData\Local\Temp\rzsiezg3p2h’. at CommunityInstaller.InstallWorkflow.d__23.MoveNext()
I resolved it by following these steps.
Download and install docker 2.5.0.1
After installation open docker desktop.
A pop-up appears to update docker to 3.4.0 (or later), click update.
Once updated you are ready to launch and play with docker desktop.
Alternately you can try downloading and installing docker 3.4.0 directly.
For me the issue was related to https://github.com/docker/for-win/issues/127
A different version of NLog from the windows GAC was interfering with the one that comes with the docker installation.
To resolve this the version in the GAC has to be deleted:
go to %windir%\Microsoft.NET\assembly
find the folder NLog
delete it
After this, I was able to install it properly. Also, I have noticed in my case, this situation has become repetitive in every update.
P.S.:
The power idea proposed in the previous answers didn't work in my case. Somehow, the installation got corrupted and couldn't run. This has happened more than once after Docker tries to update.
Docker components require a compatibility layer for running Linux binary executables natively on Windows 10 and Windows 11.( When you opt for "install required components for WSL2" ).Try installing WSL before installing docker on your system. To install WSL and Docker, follow these steps~
Right click on CMD (Command Prompt)
Run as administration
Enter the following command~
wsl --install
4. After completion, restart your computer
5. Try reinstalling docker
Before installing WSL, make sure your windows version is updated.
Refer this link to install WSL
component communityinstaller.enablefeaturesaction failed: invalid
namespace at communityinstaller.installworkflow.d_29.movenext() ---
end of stack trace from previous location where exception was thrown
--- at system.runtime.exceptionservices.exceptiondispatchinfo.throw() at
system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task
task) at communityinstaller.installworkflow.d_23.movenext()
If this is the issue while installing the Docker desktop in windows
Ans:- uncheck the first configuration from the image (i.e 'Install required Windows components for WSL 2')
Since I saw some comments regarding overall installation issues, I have separated a link with the main issues faced while installing Docker Desktop for Windows 10
One of the main problems is a permission issue related to the WindowsApps folder - When WSL 2 failed to start with the access denied error. The article below shows how to solve that:
https://www.maketecheasier.com/access-windowsapps-folder-windows-10/
More discussions about other related access-denied issues below:
https://answers.microsoft.com/en-us/windows/forum/windows_10-update/kb4565503-installed-then-wsl-2-failed-to-start/25794c4f-0b20-465e-bbdb-a8af3d9e0e88?auth=1
Install Docker Desktop using some of these step-by-step guides:
https://www.windowscentral.com/how-install-wsl2-windows-10
A good alternative one: https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10
In case you are facing some CPU/memory consumption issue in Windows, these settings could help
https://medium.com/@lewwybogus/how-to-stop-wsl2-from-hogging-all-your-ram-with-docker-d7846b9c5b37
Probably you will face this issue regarding disk space, in that case, take a look at this thread on Github
https://github.com/microsoft/WSL/issues/4699
I am late to answer but I am able to solve this issue using simple fix.
This is valid if you have recently upgraded your Windows OS to latest version.
Open Windows in Safe Mode
go to run and type -> RegEdit
Traverse to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysPlant
Now change Start value to 4.
Restart and try to install docker now.