简体   繁体   中英

Cannot launch Docker Desktop on Windows 10

I'm installing Docker Desktop 4.1.0 on Windows 10 and facing the following error in Installation Wizard:

Component CommunityInstaller.EnableFeaturesAction failed: Not found 
   at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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__24.MoveNext()

I've looked up available threads in the internet and tried to:

  • Remove docker related folders, restart system and rerun installation
  • Reinstall unmarking options (wsl2 components, desktop shortcut). This worked, but after installation Docker Desktop fails to run. docker version returns:
error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version": open //./pipe/docker_engine: The system cannot find the file specified.
        Client:
         Cloud integration: 1.0.17
         Version:           20.10.8
         API version:       1.41
         Go version:        go1.16.6
         Git commit:        3967b7d
         Built:             Fri Jul 30 19:58:50 2021
         OS/Arch:           windows/amd64
         Context:           default
         Experimental:      true
  • Then, I tried to Switch-deamon from PowerShell as administrator with & 'C:\\Program Files\\Docker\\Docker\\DockerCli.exe' -SwitchDaemon , still no luck.

Also:

  • docker-machine is not recognized as a command.
  • Docker is in the Path system variable.
  • When I go to Services, Docker System Service is running, but no Docker Icon appears in Taskbar.
  • I had docker previously installed, but then deleted.

Feel free to reach me for any detailed information. I'm pretty new to this and not sure, what can be useful. Any help will be appreciated.

在重新安装 docker 后卸载 docker 后,无论您使用什么,重新启动您的 PC 或笔记本电脑

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM