Public | Automated Build

Last pushed: 2 years ago
Short Description
Sandbox for dotnet-docker-nightly automated builds.
Full Description

.NET Core Nightly Docker Images

This repository contains Dockerfile definitions for Docker images that include last-known-good (LKG) builds of the next release of the .NET Core command-line (CLI) tools.

See dotnet/dotnet-docker for images with official releases of .NET Core.

This project is part of the .NET Core CLI tools. You can find samples, documentation, and getting started instructions at the dotnet/cli repo.

Supported tags

Development images

Runtime images

Image variants

The microsoft/dotnet-nightly images come in different flavors, each designed for a specific use case.


This image contains the .NET Core SDK which is comprised of two parts:

  1. .NET Core
  2. .NET Core command line tools

This image is recommended if you are trying .NET Core for the first time, as it allows both developing and running
applications. Use this image for your development process (developing, building and testing applications).


The most straightforward way to use this image is to use a Docker container as both the build and runtime environment for your application. Creating a simple Dockerfile with the following content in the same directory as your project files will compile and run your project:

FROM microsoft/dotnet-nightly:onbuild

This image includes multiple ONBUILD triggers which should cover most applications. The build will COPY . /dotnetapp and RUN dotnet restore.

This image also includes the ENTRYPOINT dotnet run instruction which will run your application when the Docker image is run.

You can then build and run the Docker image:

$ docker build -t my-dotnet-app .
$ docker run -it --rm --name my-running-app my-dotnet-app


This image contains only .NET Core (runtime and libraries) and it is optimized for running portable .NET Core applications. If you wish to run self-contained applications, please use the core-deps image described below.


This image contains the operating system with all of the native dependencies needed by .NET Core. Use this image to:

  1. Run a self-contained application.
  2. Build a custom copy of .NET Core by compiling coreclr and corefx.

Windows Containers

Windows Containers images use the microsoft/windowsservercore and microsoft/nanoserver base OS images from Windows Server 2016 Technical Preview 5. For more information on Windows Containers and a getting started guide, please see: Windows Containers Documentation.

  • rel-1.0.0-windowsservercore-sdk
  • rel-1.0.0-nanoserver-sdk
  • rel-1.0.0-windowsservercore-onbuild
  • rel-1.0.0-nanoserver-onbuild
  • rel-1.0.0-windowsservercore-core
  • rel-1.0.0-nanoserver-core
Docker Pull Command
Source Repository