I have just created a web application with the latest .Net Core Preview sdks.
I am trying to run it on Linux Docker however the project does not build.
The error I am re
Responding little late. I had this issue and has resolved after taken below steps.
- Run Visual Studio as Administrator
- Your running Docker host should logged-in to your DockerHub account. This is very important. The ENV variable mentioned has set after this step.
The main reason for this issue is Visual Studio couldn't download nano server image from docker hub as it couldn't see any dockerhub details. So always make sure that you logged in to your dockerhub account from running docker host or you may manually set this registry, which I think not a perfect way.
You can verify this through Visual Studio output window.