Hypnobrew
Hypnobrew

Reputation: 1140

Specify runtime for self container .Net Core app in Docker

I'm working on a .Net Core app, which I aim to run in production in a docker container.

I'm targeting the netcoreapp1.0 framework. When building and running the application in the official .Net Core SDK image, everything works as expected.

The next step is to have a self contained app and use the official runtime image from Microsoft instead, as they recommend here.

What I understand is you have to specify which runtimes you want to include in the runtime section in your project.json.

My question is: Which runtime do microsoft/dotnet:runtime use under the hood for their latest image version?

There are a lot of different i.e Ubuntu runtimes to targets to choose from on Microsoft Docs Website:

The application will run as a Linux Container, NOT a Windows Container.

Upvotes: 0

Views: 362

Answers (1)

J. Doe
J. Doe

Reputation: 2747

Simple answer - debian.8-x64. Have a nice day.

Upvotes: 1

Related Questions