小编cva*_*dal的帖子

无法删除容器网络

自从我将计算机上的 Docker 升级到 beta27 以来,我一直无法使用默认网络运行 Windows 容器。我收到以下消息:

docker: Error response from daemon: container xxx encountered an error during Start failed in Win32: The system cannot find the path specified. (0x3): Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.
Run Code Online (Sandbox Code Playgroud)

我已经卸载/删除了所有内容(Windows 版 Docker、Hyper-V、容器功能以及遗留在 C:\ProgramData\Docker 中的文件),然后重新安装了所有内容,但问题仍然存在。

我意识到nat适配器不再存在于 Hyper-V 中,但DockerNat适配器存在。

本文提供了一个脚本来重置网络组件,但我无法删除容器网络。

PS C:\WINDOWS\system32> Get-ContainerNetwork

Name Id                                   Subnets         Mode SourceMac DNSServers DNSSuffix
---- -- …
Run Code Online (Sandbox Code Playgroud)

windows docker

5
推荐指数
1
解决办法
3920
查看次数

标签 统计

docker ×1

windows ×1