docker导出日志到本地的方法是什么
257
2022-10-17
docker .net5 Determining projects to restore... 失败
报错如下
/usr/share/dotnet/sdk/5.0.302/NuGet.targets(131,5): error : Unable to load the service index for source [/src/ApiServer/ApiServer.csproj]/usr/share/dotnet/sdk/5.0.302/NuGet.targets(131,5): error : The HTTP request to 'GET has timed out after 100000ms. [/src/ApiServer/ApiServer.csproj]The command '/bin/sh -c dotnet restore "ApiServer/ApiServer.csproj"' returned a non-zero code: 1
//添加--network=hostdocker build -t net5test -f Dockerfile . --network=host
留待后查,同时方便他人
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~