Windows上docker build 报错 NU1301

Unable to load the service index for source https://api.nuget.org/v3/index.json

在配置文件中加上dns,docker desktop=>设置=>Docker Engine

"dns": [
    "1.1.1.1",
    "8.8.8.8"
  ],
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐