I installed docker on a Windows 10 machine via chocolatey choco install docker-desktop
Then I have built this image
FROM mcr.microsoft.com/windows/servercore:ltsc2016
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
RUN Invoke-WebRequest -UseBasicParsing https://chocolatey.org/install.ps1 | Invoke-Expression
And it runs reasonably fast
Then I try to run this one
FROM chocolatey
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
RUN cinst -y netfx-4.7.2-devpack
After downloading the .net installer the process fails with timeout. The last thing in the log is Installing dotnetfx...
No idea why and how to debug. Anyone has the same issue? Where do I start debugging this issue?
我对此没有确切的答案,但是我当前的解决方法是使用来自https://hub.docker.com/_/microsoft-dotnet-framework-sdk/的 Microsoft的sdk基本映像
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.