2.2
(Current)docker pull mcr.microsoft.com/dotnet/core/runtime:2.2
2.1
(LTS)docker pull mcr.microsoft.com/dotnet/core/runtime:2.1
This image contains the .NET Core runtimes and libraries and is optimized for running .NET Core apps in production.
Watch dotnet/announcements for Docker-related .NET announcements.
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.
You can quickly run a container with a pre-built .NET Core Docker image, based on the .NET Core console sample.
Type the following command to run a sample console application:
docker run --rm mcr.microsoft.com/dotnet/core/samples
.NET Core:
- dotnet/core: .NET Core
- dotnet/core/sdk: .NET Core SDK
- dotnet/core/aspnet: ASP.NET Core Runtime
- dotnet/core/runtime-deps: .NET Core Runtime Dependencies
- dotnet/core/samples: .NET Core Samples
- dotnet/core-nightly: .NET Core (Preview)
.NET Framework:
- dotnet/framework/aspnet: ASP.NET Web Forms and MVC
- microsoft/dotnet-framework: .NET Framework
- microsoft/dotnet-framework-samples: .NET Framework and ASP.NET Samples
2.2.3-stretch-slim
,2.2-stretch-slim
,2.2.3
,2.2
,latest
(Dockerfile)2.2.3-alpine3.9
,2.2-alpine3.9
(Dockerfile)2.2.3-alpine3.8
,2.2-alpine3.8
,2.2.3-alpine
,2.2-alpine
(Dockerfile)2.2.3-bionic
,2.2-bionic
(Dockerfile)2.1.9-stretch-slim
,2.1-stretch-slim
,2.1.9
,2.1
(Dockerfile)2.1.9-alpine3.9
,2.1-alpine3.9
(Dockerfile)2.1.9-alpine3.7
,2.1-alpine3.7
,2.1.9-alpine
,2.1-alpine
(Dockerfile)2.1.9-bionic
,2.1-bionic
(Dockerfile)1.1.12-stretch
,1.1-stretch
(Dockerfile)1.1.12-jessie
,1.1-jessie
,1.1.12
,1.1
(Dockerfile)1.0.15-jessie
,1.0-jessie
,1.0.15
,1.0
(Dockerfile)
.NET Core 3.0 Preview tags
3.0.0-preview3-stretch-slim
,3.0-stretch-slim
,3.0.0-preview3
,3.0
(Dockerfile)3.0.0-preview3-alpine3.9
,3.0-alpine3.9
,3.0.0-preview3-alpine
,3.0-alpine
(Dockerfile)3.0.0-preview3-bionic
,3.0-bionic
(Dockerfile)
.NET Core 3.0 Preview tags
3.0.0-preview3-stretch-slim-arm64v8
,3.0-stretch-slim-arm64v8
,3.0.0-preview3
,3.0
(Dockerfile)3.0.0-preview3-bionic-arm64v8
,3.0-bionic-arm64v8
(Dockerfile)
2.2.3-stretch-slim-arm32v7
,2.2-stretch-slim-arm32v7
,2.2.3
,2.2
,latest
(Dockerfile)2.2.3-bionic-arm32v7
,2.2-bionic-arm32v7
(Dockerfile)2.1.9-stretch-slim-arm32v7
,2.1-stretch-slim-arm32v7
,2.1.9
,2.1
(Dockerfile)2.1.9-bionic-arm32v7
,2.1-bionic-arm32v7
(Dockerfile)
.NET Core 3.0 Preview tags
3.0.0-preview3-stretch-slim-arm32v7
,3.0-stretch-slim-arm32v7
,3.0.0-preview3
,3.0
(Dockerfile)3.0.0-preview3-bionic-arm32v7
,3.0-bionic-arm32v7
(Dockerfile)
2.2.3-nanoserver-1809
,2.2-nanoserver-1809
,2.2.3
,2.2
,latest
(Dockerfile)2.1.9-nanoserver-1809
,2.1-nanoserver-1809
,2.1.9
,2.1
(Dockerfile)1.1.12-nanoserver-1809
,1.1-nanoserver-1809
,1.1.12
,1.1
(Dockerfile)1.0.15-nanoserver-1809
,1.0-nanoserver-1809
,1.0.15
,1.0
(Dockerfile)
.NET Core 3.0 Preview tags
2.2.3-nanoserver-1803
,2.2-nanoserver-1803
,2.2.3
,2.2
,latest
(Dockerfile)2.1.9-nanoserver-1803
,2.1-nanoserver-1803
,2.1.9
,2.1
(Dockerfile)
.NET Core 3.0 Preview tags
2.2.3-nanoserver-1709
,2.2-nanoserver-1709
,2.2.3
,2.2
,latest
(Dockerfile)2.1.9-nanoserver-1709
,2.1-nanoserver-1709
,2.1.9
,2.1
(Dockerfile)
.NET Core 3.0 Preview 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.
See Microsoft Support for .NET Core for the support lifecycle.
- File a .NET Core Docker issue
- File a .NET Core issue
- File an ASP.NET Core issue
- File an issue for other components
- Ask on Stack Overflow
- Contact Microsoft Support
- .NET Core license
- Windows Nano Server license (only applies to Windows containers)
- Pricing and licensing for Windows Server 2019