Created a new .NET CORE 2.1 (preview) web app. Running it in local docker with Linux container I am getting compiler error:
Error Building blobtest
Service 'blobtest' failed to build: manifest for microsoft/aspnetcore:2.1 not found.
My dotnetversion
C:\WINDOWS\system32>dotnet --version
2.1.300-preview2-008530
I had this issue as well. I thought I'd update this post to show the fix here. Thanks to Marius Bidireac for the link to the resource.
Here is an excerpt from the original docker file
Here is an excerpt from the corrected docker file
They have changed the repo for .NET Core 2.1 onwards to microsoft/dotnet. Change your FROM statement to reference microsoft/dotnet using the following tags:
Documentation on how to upgrade can be found here