美文网首页
win10安装docker desktop问题及解决

win10安装docker desktop问题及解决

作者: 超重氢 | 来源:发表于2019-01-31 19:12 被阅读0次

问题:

在按照正常步骤开启Hyper-V,安装 docker desktop后,如果要配置国内镜像仓库货代理,在调整配置仓库镜像或代理后(可能每次重启都会出现),会爆如下错误:

Hyper-V was unable to find a virtual switch with name "DockerNAT"

解决方案:

通过谷歌搜索到的解决方案

1)disable hyper-v & containers from "turn windows features on/off"

2)restart computer & start windows power shell as administrator

3)execute this command: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

执行完后,镜像设置就生效了。

相关文章

网友评论

      本文标题:win10安装docker desktop问题及解决

      本文链接:https://www.haomeiwen.com/subject/ozzqkqtx.html