我已经在我的Windows10机器上安装了Docker for Windows。当我试图从“windows容器”切换到“linux容器”时,我得到一个错误。
无法启动:运行的命令已停止,因为首选项
变量“ErrorActionPreference”或公共参数设置为Stop:
“MobyLinuxVM”无法启动。
无法启动虚拟机“MobyLinuxVM”,因为
Hyper-V组件未运行。
“MobyLinuxVM”无法启动。(虚拟机ID
2E563FF9-8F28-49F9-A0D1-4E64BCCC3438)
虚拟机管理服务无法启动虚拟机
机器“MobyLinuxVM”,因为其中一个Hyper-V组件不是
正在运行(虚拟机ID 2E563FF9-8F28-49F9-A0D1-4E64BCCC3438)。在
启动MobyLinuxVM,:第296行,时间:
Docker.Core.Pipe.NamedPipeClient.Send(字符串操作,
对象[]参数)在
C: \workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\docker.Core\pipe\NamedPipeClient.cs:行
36在Docker.Actions.中。<gt;c}u DisplayClass28}u 0.b}u 0()
C: \workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\docker.Windows\Actions.cs:行
305在Docker.WPF.TaskQueue上。<>c_udisplayClass19_0。<.ctor>b_u1()在
C: \workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\docker.WPF\TaskQueue.cs:第59行
我一直在关注类似的问题(
Failed to start the virtual machine 'MobyLinuxVM' because one of the Hyper-V components is not running
)但问题中的解决方案对我不起作用。