0

I have created a docker file for my Visual Studio 2019 ASP.Net core API project and trying to create a docker Windows container image using docker desktop (installed in WIN 10), getting the below error in RUN dotnet restore step -

C:\Program Files\dotnet\sdk\3.1.424\NuGet.targets(128,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json.

Do we need to set anything in the Docker file?

Rajesh
  • 1
  • 1
  • Does this answer your question? [Nuget connection attempt failed "Unable to load the service index for source"](https://stackoverflow.com/questions/41185443/nuget-connection-attempt-failed-unable-to-load-the-service-index-for-source) – Max Nov 07 '22 at 11:20

0 Answers0