加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

无法在Windows 10中启动Docker – 引发Hyper-V错误

发布时间:2020-12-14 02:08:19 所属栏目:Windows 来源:网络整理
导读:在 Windows 10中启动docker时出现以下错误.任何人都可以指导我正确安装docker吗? Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Hyper-V encounteredan er
在 Windows 10中启动docker时出现以下错误.任何人都可以指导我正确安装docker吗?

Unable to create: The running command stopped because the preference variable 
"ErrorActionPreference" or common parameter is set to Stop: Hyper-V encountered
an error trying to access an object on computer 'XXXX' because the object was not 
found. The object might have been deleted,or you might not have permission to 
perform the task. Verify that the Virtual Machine Management service on the 
computer is running. If the service is running,try to perform the task again by 
using Run as Administrator.
at New-MobyLinuxVM,<No file>: line 242
at <ScriptBlock>,<No file>: line 362
   at Docker.Backend.HyperV.RunScript(String action,Dictionary`2 parameters)
   at Docker.Backend.ContainerEngine.Linux.Start(Settings settings)
   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass8_0.<Register>b__0(Object[] parameters)
   at Docker.Core.Pipe.NamedPipeServer.RunAction(String action,Object[] parameters)

版本

OS : Windows 10 Enterprise 
Version : 1607 
OS Build : 14393.576
Docker Version : 1.12.3 (Stable)

解决方法

我也遇到过同样的问题.我通过删除所有MobyLinuxVM虚拟机解决了这个问题.以下是它的步骤.

>打开Hyper-V管理器
>从虚拟机中选择所有MobyLinuxVM.
>右键单击并删除所有这些虚拟机.
>重启docker.

这些步骤解决了我的系统上的这个问题.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读