在docker中切换到Linux容器时出错。

问题描述 投票:0回答:1
我已经安装了docker。当它在Windows容器中运行时,它可以正常工作。但是,如果我切换到Linux容器时出现以下错误。

操作系统:Windows 10Docker桌面:2.2.0.3

错误:

Docker.Core.Backend.BackendDestroyException: Unable to stop Hyper-V VM: Service 'Hyper-V Host Compute Service (vmcompute)' cannot be started due to the following error: Cannot start service vmcompute on computer '.'. at Enable-MobyLinuxRequiredService, <No file>: line 103 at <ScriptBlock>, <No file>: line 804 at Docker.Core.Pipe.NamedPipeClient.<TrySendAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) at Docker.Actions.<>c__DisplayClass39_0.<SwitchDaemon>b__0() at Docker.ApiServices.TaskQueuing.TaskQueue.<>c__DisplayClass18_0.<.ctor>b__1()

我已经安装了docker。当它在Windows容器中运行时,它可以正常工作。但是,如果我切换到Linux容器以下错误。操作系统:Windows 10 Docker桌面:2.2.0.3错误:Docker.Core ....
docker windows-10 docker-for-windows linux-containers
1个回答
0
投票
根据this
© www.soinside.com 2019 - 2024. All rights reserved.