Docker 桌面安装失败

标签 docker installation

我尝试分别安装 Docker Desktop 并一直出现错误

enter image description here

我曾尝试在 windows 配置中禁用电源服务,还尝试了 3.1.0 和 3.0.0 版本。 仍然遇到同样的问题。

最佳答案

在 Docker 4.7.1 中花了相当长的时间解决同样的问题后,我能够按照建议的解决方案解决这个问题 here .这是我所做的。

打开 Admin cmd 提示符(不是 powershell)并导航到 C:>windows\system32\wbem 并运行以下命令:

regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.dll
regsvr32 cimwin32.dll
mofcomp cimwin32.mof
mofcomp cimwin32.mfl
mofcomp rsop.mof
mofcomp rsop.mfl
for /f %s in ('dir /b /s *.dll') do regsvr32 /s %s
for /f %s in ('dir /b *.mof') do mofcomp %s
for /f %s in ('dir /b *.mfl') do mofcomp %s
regsvr32 wmisvc.dll
wmiprvse /regserver

运行上述命令后重新启动计算机。

我的问题是损坏的 WMI 和上面的命令应该可以修复它。

关于Docker 桌面安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66490624/

相关文章:

python - 在 Python 2.7.9 中安装包

python - 安装适用于 Python 3.5.1 的 Pip。在 Mac OSX 10.5.8 上

installation - Wix - 该目录位于用户配置文件中,但未在“RemoveFile”表中列出

docker - 使用 LOAD CSV 将本地文件导入 Docker 容器中的 Neo4j

windows-installer - 高级安装程序 – 更新时不覆盖文件,但卸载时删除文件

docker - Jenkins docker -运行容器,执行Shell脚本等

docker - redis官方docker镜像端口暴露给windows

python -/usr/bin/clang 命令在 MacOS 上尝试 pip 安装 TA-lib 失败

docker - 为什么我从 boot2docker 收到 'could not resolve "registry.giantswarm.io"' 错误?

docker - 如何使用 Docker 创建分布式 spark 集群