Home > Net >  [for].net core3.1 project published to the Docker always prompt not installed the SDK 3.1
[for].net core3.1 project published to the Docker always prompt not installed the SDK 3.1

Time:09-16

Every time the docker container automatically quit after the run, the log found that are not installed the SDK, but actually have the SDK installed, with the help of online information is a bit less, bosses see

CodePudding user response:

Try McR.microsoft.com/dotnet/core/aspnet:3.1

CodePudding user response:


.net core to load into docker, building image, write dockerfile documents such as

CodePudding user response:

To install the runtime (runtime), is not the same as installed the SDK,
The SDK is generally used for development, if you are happen to use the SDK, that is about to install the SDK,

Dotnet - version gives the runtime version, use the following commands to get installed the SDK:
Dotnet - the list - SDKS

CodePudding user response:

CodePudding user response:

refer to the second floor tangyanzhi1111 response:
.net core to load into docker, building image, write dockerfile documents such as
docker I put the following file, there is something wrong with the bosses and see if it is built inside the statement

CodePudding user response:

The
reference 3 floor github_36000833 response:
installed runtime (runtime), is not the same as installed the SDK,
The SDK is generally used for development, if you are happen to use the SDK, that is about to install the SDK,

Dotnet - version gives the runtime version, use the following commands to get installed the SDK:
Dotnet - the list - SDKS
I downstairs map, the SDK should be installed
  • Related