首页 > 解决方案 > Windows 不支持 NAT 设置中的主机 IP 地址

问题描述

您好,我正在尝试使用包装器创建一个容器Docker.DotNet Api。问题是,虽然在一台计算机上它可以在另一台计算机上正常工作,但它会引发以下异常:

'Docker API responded with status code=InternalServerError, response={"message":"failed to create endpoint flamboyant_lalande on network nat: Windows does not support host IP addresses in NAT settings"}

奇怪的是,我试图使用打开不同的图像,但API我得到了同样的错误。

会是什么呢?

PS除了使用它之外,API我可以毫无问题地创建容器。

标签: .netdockernat

解决方案


推荐阅读