无法在Windows 10 Pro上启动Docker?

dwp

问题:

当我尝试启动Docker桌面时,会出现此错误。

Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Hyper-V was unable to find a virtual switch with name "DockerNAT".

这是我在终端上发出docker version命令时的输出。

Client: Docker Engine - Community
 Version:           18.09.2
 API version:       1.39
 Go version:        go1.10.8
 Git commit:        6247962
 Built:             Sun Feb 10 04:12:31 2019
 OS/Arch:           windows/amd64
 Experimental:      false
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.39/version: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running. 

在Windows容器中时,此工作不会给任何错误。但是,当我将其更改为Linux容器时,就会发生这种情况。我做了很多尝试以找到解决该问题的方法。但是我找不到解决方案。有人可以帮我解决这个问题吗?谢谢。

农夫1992

您可能需要从HyperV控制台进行检查,以确保有一个名为DockerNAT的vnet。

在此处输入图片说明

托盘图标,查看是否有一些日志与无法创建vnet的原因有关

在此处输入图片说明

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章