san*_*kar 6 hyper-v docker windows-10
在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)
Run Code Online (Sandbox Code Playgroud)
版本
OS : Windows 10 Enterprise
Version : 1607
OS Build : 14393.576
Docker Version : 1.12.3 (Stable)
Run Code Online (Sandbox Code Playgroud)
Ank*_*jee 11
运行“MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof”
从命令管理模式提示。执行此操作后也无需重新启动机器,它对我有用。
小智 6
我也遇到过同样的问题.我通过删除所有MobyLinuxVM虚拟机解决了这个问题.以下是它的步骤.
这些步骤解决了我的系统上的这个问题.
假设您正在尝试运行 Windows 容器:
\n\n右键单击 Docker 系统托盘图标,然后选择 \xe2\x80\x9c 切换到 Windows Containers\xe2\x80\x9d。
\n\n它最终会让您重新启动系统,但不会再尝试运行错误消息中提到的 MobyLinuxVm。
\n\n如果它对任何人有帮助,我在 Apple 硬件 (MacOS) 上通过 Parallels 运行 Windows 10 VM。我还确保在并行设置 > 处理器和内存 > 高级下,启用了 Hypervision 应用程序。
\n 归档时间: |
|
查看次数: |
10391 次 |
最近记录: |