Skip to content

Latest commit

 

History

History
148 lines (92 loc) · 10 KB

README.aspnet.md

File metadata and controls

148 lines (92 loc) · 10 KB

Featured Tags

  • 2.2 (Current)
    • docker pull mcr.microsoft.com/dotnet/core/aspnet:2.2
  • 2.1 (LTS)
    • docker pull mcr.microsoft.com/dotnet/core/aspnet:2.1

About This Image

This image contains the ASP.NET Core and .NET Core runtimes and libraries and is optimized for running ASP.NET Core apps in production.

Watch dotnet/announcements for Docker-related .NET announcements.

How to Use the Image

The .NET Core Docker samples show various ways to use .NET Core and Docker together. See Building Docker Images for .NET Core Applications to learn more.

Container sample: Run a web application

You can quickly run a container with a pre-built .NET Core Docker image, based on the ASP.NET Core sample.

Type the following command to run a sample web application:

docker run -it --rm -p 8000:80 --name aspnetcore_sample mcr.microsoft.com/dotnet/core/samples:aspnetapp

After the application starts, navigate to http://localhost:8000 in your web browser. On Windows, you may need to navigate to the container via IP address. See ASP.NET Core apps in Windows Containers for instructions on determining the IP address, using the value of --name that you used in docker run.

See Hosting ASP.NET Core Images with Docker over HTTPS to use HTTPS with this image.

Related Repos

.NET Core:

.NET Framework:

Full Tag Listing

Linux amd64 tags

.NET Core 3.0 Preview tags

Linux arm64 tags

.NET Core 3.0 Preview tags

Linux arm32 tags

.NET Core 3.0 Preview tags

Windows Server, version 1809 amd64 tags

.NET Core 3.0 Preview tags

Windows Server, version 1803 amd64 tags

.NET Core 3.0 Preview tags

Windows Server, version 1709 amd64 tags

.NET Core 3.0 Preview tags

Windows Server 2016 amd64 tags

.NET Core 3.0 Preview tags

Windows Server, version 1809 arm32 tags

.NET Core 3.0 Preview tags

For more information about these images and their history, please see the relevant Dockerfile. These images are updated via pull requests to the dotnet/dotnet-docker GitHub repo.

Support

See Microsoft Support for .NET Core for the support lifecycle.

Feedback

License