Timeline for Cannot install windows feature NET-Framework-Features in Docker image
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 12, 2020 at 12:26 | vote | accept | Andreas | ||
Mar 12, 2020 at 3:54 | answer | added | Stephen Klancher | timeline score: 8 | |
Nov 8, 2019 at 7:29 | vote | accept | Andreas | ||
Mar 12, 2020 at 12:26 | |||||
Nov 6, 2019 at 10:34 | answer | added | Andreas | timeline score: 1 | |
Nov 4, 2019 at 15:50 | comment | added | Andreas |
Got it working using another image: FROM mcr.microsoft.com/dotnet/framework/sdk:3.5-20191008-windowsservercore-ltsc2019 . The image has .NET 3.5 installed by default. Not really solving how to install it on an image missing it so leaving this workaround as a comment.
|
|
Nov 4, 2019 at 13:46 | comment | added | Andreas |
@Smeerpijp Yes. I've verified it by omitting the Install-WindowsFeature line from the Dockerfile and then run it manually from within the running docker instance (docker run -it mydocker:latest ). Have you tried running the Dockerfile yourself? I'd be mighty surprised if you get a different behavior.
|
|
Nov 4, 2019 at 13:32 | comment | added | Andreas |
@Ramhound Edited. As workaround I'm gonna try use a base image where 3.5 is already enabled (FROM microsoft/dotnet-framework-build:3.5 ). No disaster yet...
|
|
Nov 4, 2019 at 13:28 | history | edited | Andreas | CC BY-SA 4.0 |
added 262 characters in body
|
Nov 4, 2019 at 13:11 | comment | added | Ramhound | @Andreas - Update your question to reflect that fact. Verify the ISOs matched the version you have installed. | |
Nov 4, 2019 at 12:36 | comment | added | Andreas | @Smeerpijp Fixed. Tried with both Server 2019 and 2016, still failing. At least one more error to find. | |
Nov 4, 2019 at 11:05 | comment | added | doenoe |
you need to point the -Source parameter to the full path of the ISO source/sxs files, either from a network share, or mounted from the local machine. Install-WindowsFeature Net-Framework-Core -source \\network\share\sxs or -source D:\sources\sxs docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/…
|
|
Nov 4, 2019 at 10:58 | history | asked | Andreas | CC BY-SA 4.0 |