Closed mjrousos closed 6 years ago
Can you try updating your image and tell me if the error persists?
docker pull microsoft/aspnetcore:2.0-nanoserver-1709
Thanks, @natemcmaster, that seems to have solved the problem. After pulling microsoft/aspnetcore:2.0-nanoserver-1709 and re-building my app's image, it launched as expected.
Can we version the aspnetcore image to match the ASP.NET Core store libraries included (microsoft/aspnetcore:2.0.7) so that people don't run into this?
A tag already exists for microsoft/aspnetcore:2.0.7-nanoserver-1709
. We publish the <major>.<minor>
tags as a convenience to those who want their CI to run docker pull
and automatically roll up to the latest patch, without having to change the FROM in their dockerfile. See https://hub.docker.com/r/microsoft/aspnetcore/ for a full list of tags.
Closing for now as it appears there's no action on our end.
Yea, having the <major>.<minor>
tags makes sense as a convenience. The real problem is that the VS templates (which depend on the ASP.NET Core store being up-to-date) were using those instead of more precise tags. I'll follow-up with the VS folks.
Steps to reproduce the issue
docker-compose up
from the project's directory on the command line.Expected behavior
MVC app launches in a Nano Server container.
Actual behavior
Container fails to launch:
Additional information
It appears that the ASP.NET Core stores that should be copied in Nano Server images are not copied correctly. If I connect to the container directly (
docker run -it microsoft/aspnetcore:2.0-nanoserver-1709 cmd.exe
), it appears to contain the 2.0.0 store but not the later versions:Output of
docker info