'Docker Windows 10 installation Error Component CommunityInstaller.ExecAction failed: Process InstallerCli.exe exited
I get below error when try to install Docker Desktop for Windows 4.0.0
Component CommunityInstaller.ExecAction failed: Process InstallerCli.exe exited with code 1
at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>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.<DoProcessAsync>d__23.MoveNext()
Tried lower version (3.6.0
) as well, but same result.
Anyone has any idea?
Solution 1:[1]
this happened to me also. Then, I also tried to install other versions, but it didn't work.
So, to fix this I just manually deleted the folders:
- C:\ProgramData\Docker
- C:\Program Files\Docker
After this, docker 4.6.0 was installed successfully.
Solution 2:[2]
Deleting all Docker files in C:\ProgramData\ and C:\Program Files\ allowed me to install 4.6.0, before that I was getting the same error.
Solution 3:[3]
If you had Docker for Desktop installed before on your machine, the issue could be the security settings for the C:\ProgramData\DockerDesktop folder which blocks modifications (writes, updates and delete operations) for any user and application. Since it is an application (Docker Desktop Installer) which needs to use that folder, you need to let "TrustedInstallers" write and modify this folder. You might also need to give full access to Administrator and System users since you most likely are running Docker Desktop Installer as Admin.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Wagner M. D. Büttner |
Solution 2 | Gary Gregory |
Solution 3 | Ramin Toussi |