3
votes

I am using this docker image now:

microsoft/dotnet:2.2.2-aspnetcore-runtime-alpine

I want to upgrade to 2.2.7 but can't manage to find correct tag on docker:

This url https://registry.hub.docker.com/v1/repositories/microsoft/dotnet/tags seems to only have 2.2.2 as the latest version.

It seems that Microsoft has moved to their own docker repository (mcr.microsoft.com/dotnet/core/runtime:2.2) while maintaining documentation on docker hub? I am really confused with what is going on in there.

So I really want to find a corresponding image to my original but version 2.2.7 for both aspnet or ordinary runtime (without aspnet)

1
This change happened at least 6 months ago. This causes an ungooglable mess. Have you checked the Official .NET Docker images article?Panagiotis Kanavos
Yes, thank you, I have now found this article as well: devblogs.microsoft.com/dotnet/…Ilya Chernomordik
And the MCR links redirect to the product page, an annoying fact I had forgotten. Have you tried using docker pull mcr.microsoft.com/dotnet/core/aspnet:2.2 directly? Wait - if you look way down to the full tag list you'll find 2.2.7-alpine3.9, 2.2-alpine3.9.Panagiotis Kanavos
So you probably need docker pull mcr.microsoft.com/dotnet/core/aspnet:2.2.7-alpine3.9Panagiotis Kanavos
Yes, I came to the same conclusion, I will try that, it seems that 2.2.7-alpine is an alias to the same image. Do you know if I should use mcr.microsoft.com/dotnet/core/runtime:2.2.7-alpine3.9 whithout aspnet?Ilya Chernomordik

1 Answers

4
votes

Have found out with some help from Panagiotis:

Microsoft has moved all their images to own repository, see more information here. They do reference these images from a documentation on docker hub even though the images are not published there.

Docker images that can be used for dotnet core:

mcr.microsoft.com/dotnet/core/runtime-deps:2.2.3 - use for deploying self-contained deployment apps

mcr.microsoft.com/dotnet/core/runtime:2.2.3 - use for deploying .NET Core console apps

mcr.microsoft.com/dotnet/core/aspnet:2.2.3 - use for deploying ASP.NET Core apps

mcr.microsoft.com/dotnet/core/sdk:2.2.105 - use for building .NET Core (or ASP.NET Core apps)