microsoft/dotnet-framework-aspnet
dotnet/framework/aspnet
Official images for ASP.NET
4.8.1
docker pull mcr.microsoft.com/dotnet/framework/aspnet:4.8.1
4.8
docker pull mcr.microsoft.com/dotnet/framework/aspnet:4.8
3.5
docker pull mcr.microsoft.com/dotnet/framework/aspnet:3.5
ASP.NET is a high productivity framework for building Web Applications using Web Forms, MVC, Web API and SignalR.
This image contains:
Watch discussions for Docker-related .NET announcements.
The .NET Framework Docker samples show various ways to use .NET Framework and Docker together.
You can quickly run a container with a pre-built sample ASP.NET Docker image, based on the [ASP.NET Docker sample].
Type the following Docker command:
docker run --name aspnet_sample --rm -it -p 8000:80 mcr.microsoft.com/dotnet/framework/samples:aspnetapp
After the application starts, navigate to http://localhost:8000
in your web browser. You need to navigate to the application via IP address instead of localhost
for earlier Windows versions, which is demonstrated in View the ASP.NET app in a running container on Windows.
Version Tag | OS Version | Supported .NET Versions |
---|---|---|
4.8.1 | windowsservercore-ltsc2022 | 4.8.1 |
4.8 | windowsservercore-ltsc2022, windowsservercore-ltsc2019, windowsservercore-ltsc2016 | 4.8 |
4.7.2 | windowsservercore-ltsc2019, windowsservercore-ltsc2016 | 4.7.2 |
4.7.1 | windowsservercore-ltsc2016 | 4.7.1 |
4.7 | windowsservercore-ltsc2016 | 4.7 |
4.6.2 | windowsservercore-ltsc2016 | 4.6.2 |
3.5 | windowsservercore-ltsc2022 | 4.7.2, 3.5, 3.0, 2.5 |
3.5 | windowsservercore-ltsc2019 | 4.7.2, 3.5, 3.0, 2.5 |
3.5 | windowsservercore-ltsc2016 | 4.6.2, 3.5, 3.0, 2.5 |
.NET Framework:
.NET:
View the current tags at the Microsoft Artifact Registry portal or on GitHub.
docker pull mcr.microsoft.com/dotnet/framework/aspnet