加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

Windows防火墙的设置允许Docker for Windows共享驱动器

发布时间:2020-12-14 04:32:28 所属栏目:Windows 来源:网络整理
导读:Windows防火墙阻止我尝试允许Docker for Windows在Windows 10机器上共享C:. Windows防火墙关闭时工作正常.当它得到 A firewall is blocking file Sharing between Windows and the containers. See documentation for more info. 文件说 You do not need to
Windows防火墙阻止我尝试允许Docker for Windows在Windows 10机器上共享C:.

Windows防火墙关闭时工作正常.当它得到

A firewall is blocking file Sharing between Windows and the
containers. See documentation for more info.

文件说

You do not need to open port 445 on any other network. By default,
allow connections to 10.0.75.1 port 445 (the Windows host) from
10.0.75.2 (the virtual machine).

我试图找到如何做 – “googled出来” – 有人建议吗?

遇到这个错误时,我没有使用任何第三方防火墙.我相信这是一个Windows防火墙问题,尽管禁用Windows防火墙对我来说无效.经过多次研究,我终于找到了这个博文: Docker on windows 10 error: A firewall is blocking file Sharing between Windows and the containers. See documentation for more info.

它最终与内置的Windows防火墙无关.

The Fix

  1. Share the C:,D:,E: … drive(s) in File Explorer (Right-click Drive > Properites > Sharing). [Edit: This step might not be necessary]
  2. Uninstall File and Printer Sharing for Microsoft Networks from the vEthernet (DockerNAT) network adapter (you can find the connection in the Windows Network and Sharing Center) [or just uncheck it].
  3. Reinstall it and make sure it is enabled [or just recheck it].

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读