Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build a docker image #8331

Closed
ManisCodeBase opened this issue Mar 28, 2023 · 3 comments
Closed

Unable to build a docker image #8331

ManisCodeBase opened this issue Mar 28, 2023 · 3 comments
Labels
needs-more-info Not enough information has been provided. Please share more detail as requested. Stale

Comments

@ManisCodeBase
Copy link

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/microservice-tutorial/docker-image
Operating System: windows

=> ERROR [build 4/6] RUN dotnet restore 16.2s

[build 4/6] RUN dotnet restore:
#11 0.963 Determining projects to restore...
#11 16.04 /src/MyMicroservice.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
#11 16.10 Failed to restore /src/MyMicroservice.csproj (in 14.85 sec).


executor failed running [/bin/sh -c dotnet restore]: exit code: 1

image

@mairaw
Copy link
Contributor

mairaw commented Apr 4, 2023

This seems like the same issue as #8337 (comment)

See if the DNS solution works for you as well

@mairaw mairaw added the needs-more-info Not enough information has been provided. Please share more detail as requested. label Apr 4, 2023
@github-actions
Copy link

This issue is stale because there has been no response to a request for more information for 7 days.

@github-actions github-actions bot added the Stale label Apr 12, 2023
@github-actions
Copy link

This issue was closed because there was no response to a request for more information for 10 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-more-info Not enough information has been provided. Please share more detail as requested. Stale
Projects
None yet
Development

No branches or pull requests

2 participants