无法从Linux容器切换到Windows容器

时间:2018-07-22 14:12:01

标签: .net docker

我最近从头开始重建了PC。我已经为Windows安装了Docker。我无法从Linux容器切换到Windows容器。这是我得到的错误:

Error response from daemon: open \\.\pipe\docker_engine_windows: The system cannot find the file specified.
   at Docker.Backend.DockerDaemonChecker.Check(Func`1 isDaemonProcessStillRunning) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\DockerDaemonChecker.cs:line 63
   at Docker.Backend.ContainerEngine.Windows.DoStart(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Windows.cs:line 218
   at Docker.Backend.ContainerEngine.Windows.Start(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Windows.cs:line 93
   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>b__0(Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 46
   at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 144

到目前为止,我已经度过了整个周末,试图使它正常工作。我已经阅读了许多网页,其中包括:https://github.com/docker/for-win/issues/1126没有任何用。我正在使用Windows 10 64位。 Linux容器还可以。

我尝试重新安装Hypervisor。

我的Windows 10版本是:1803。如果该版本存在问题,我会徘徊:https://github.com/docker/for-win/issues/1927

更新

我有两台Windows PC:

1)我两年前购买的平板电脑-Docker正确切换到Windows容器。

2)我在周末用新的SSD卡重建的PC。我在这台PC上遇到上述问题。我使用了2015/16年创建的Windows 10 CD,然后应用了自动更新。

我是否徘徊于应用于2的更新是否存在问题?

0 个答案:

没有答案
相关问题