Docker Community Forums

Share and learn in the Docker community.

Docker image not available for asp.net core 2.2

I am working on a project which is based on asp.net core 2.2.8 and I am planning to use docker for this project. The issue is I am getting this error when running the docker file

mcr.microsoft.com/dotnet/aspnet:2.2: not found

I have read some posts that .net core 2.2 is out of support and the images are removed. And the option is to upgrade the project. In my case I cannot upgrade the project from .net core 2.2 Is there a way to add docker for my project?

You can build your own version of the image if you can find or create a Dockerfile yourself. Or try to search for images created by the community.

Note: I edited your comment because the error message was converted to a link, so I replaced the quote with a code block.