title: Error: It was not possible to find any installed .NET Core SDKs
body: <p>When I run the command <code>docker run -i -t myProject</code> it shows error: </p>
  
  <blockquote>
    <p>It was not possible to find any installed .NET Core SDKs
      Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
          <a href="https://aka.ms/dotnet-download" rel="noreferrer">https://aka.ms/dotnet-download</a></p>
  </blockquote>
  
  <p>However, I do have the .NET Core SDK installed and the <code>PATH</code> is correct (followed here: <a href="https://docs.microsoft.com/en-us/aspnet/core/test/troubleshoot?view=aspnetcore-3.1#no-net-core-sdks-were-detected" rel="noreferrer">https://docs.microsoft.com/en-us/aspnet/core/test/troubleshoot?view=aspnetcore-3.1#no-net-core-sdks-were-detected</a>). </p>
  
  <p>What's more, my project only needs runtime .NET Core SDK.</p>
  
  <p>Does anyone know what might be the issue?</p>
  
  <p>When running dotnet --info I got:</p>
  
  <p>.NET Core SDK (reflecting any global.json):
   Version:   3.1.101
   Commit:    b377529961</p>
  
  <p>Runtime Environment:
   OS Name:     Windows
   OS Version:  10.0.18363
   OS Platform: Windows
   RID:         win10-x86
   Base Path:   C:\Program Files (x86)\dotnet\sdk\3.1.101\</p>
  
  <p>Host (useful for support):
    Version: 3.1.1
    Commit:  a1388f194c</p>
  
  <p>.NET Core SDKs installed:
    3.1.101 [C:\Program Files (x86)\dotnet\sdk]</p>
  
  <p>.NET Core runtimes installed:
    Microsoft.AspNetCore.App 3.1.0 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
    Microsoft.AspNetCore.App 3.1.1 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
    Microsoft.NETCore.App 3.1.0 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
    Microsoft.NETCore.App 3.1.1 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
    Microsoft.WindowsDesktop.App 3.1.0 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 3.1.1 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]</p>
  
  <p>To install additional .NET Core runtimes or SDKs:
    <a href="https://aka.ms/dotnet-download" rel="noreferrer">https://aka.ms/dotnet-download</a></p>