Closed Mr-Vaelen closed 6 years ago
@Mr-Vaelen, how did you create this Dockerfile? The 2.1 ASP.NET Core images have migrated to the [microsoft/dotnet repo](microsoft/dotnet repo). See this announcement for details.
@MichaelSimons I got it from the link in the original post. I did not create it myself.
I will have a look at the link you put up and try that out.
This is expected. As @MichaelSimons said, the images for 2.1 have moved. If you find that tooling such as Visual Studio is generating microsoft/aspnetcore:2.1-nanoserver-1709
for you, let us know so we can get that tooling to use microsoft/dotnet:2.1-aspnetcore-runtime-nanoserver-1709
instead.
cref: https://github.com/aspnet/aspnet-docker/blob/master/2.1/README.md
The nano server version failed completely: microsoft/dotnet:2.1-aspnetcore-runtime-nanoserver-1709
Whether it was the tooling or not, I am unsure. This is my first foray into Docker etc.
However using microsoft/dotnet:2.1-aspnetcore-runtime
seems to work fine.
Thanks for the assistance.
@Mr-Vaelen - Could you provide details on
The nano server version failed completely: microsoft/dotnet:2.1-aspnetcore-runtime-nanoserver-1709
We would like to ensure this is not a product issue. Thanks
@MichaelSimons - When I changed to microsoft/dotnet:2.1-aspnetcore-runtime-nanoserver-1709
, it told me that it could not download the image as it does not exist.
When I changed it to microsoft/dotnet:2.1-aspnetcore-runtime
it built and ran fine.
Unfortunately I can't provide overly much more detail than that. If I have time to go back and test it I will and will then revert back to you.
@Mr-Vaelen - Can you include the output of running the dotnet version
and dotnet info
commands? Are you able to pull and run the microsoft/nanoserver:1709
image?
Steps to reproduce the issue
(e.g. copy your Dockerfile or docker-compose.yml file here)
Expected behavior
The solution should run as expected.
Actual behavior
I receive the error in the heading because the image for aspnetcore is not available for download
Additional information (e.g. issue happens only occasionally)
This error occurs every time I run the app.
Output of
dotnet --info
Output of
docker info