简体   繁体   English

无法在 Windows 10 上启动 Docker 桌面

[英]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:我正在 Windows 10 上安装 Docker Desktop 4.1.0 并在安装向导中遇到以下错误:

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删除docker相关文件夹,重启系统,重新安装
  • Reinstall unmarking options (wsl2 components, desktop shortcut).重新安装取消标记选项(wsl2 组件、桌面快捷方式)。 This worked, but after installation Docker Desktop fails to run.这有效,但安装后 Docker Desktop 无法运行。 docker version returns: docker 版本返回:
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.然后,我尝试从 PowerShell 以管理员身份使用& 'C:\\Program Files\\Docker\\Docker\\DockerCli.exe' -SwitchDaemon从 PowerShell 切换& 'C:\\Program Files\\Docker\\Docker\\DockerCli.exe' -SwitchDaemon ,但仍然没有运气。

Also:还:

  • docker-machine is not recognized as a command. docker-machine不被识别为命令。
  • Docker is in the Path system variable. Docker 位于 Path 系统变量中。
  • When I go to Services, Docker System Service is running, but no Docker Icon appears in Taskbar.当我转到服务时,Docker 系统服务正在运行,但任务栏中没有出现 Docker 图标。
  • I had docker previously installed, but then deleted.我之前安装了docker,但后来删除了。

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 或笔记本电脑

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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