Docker Community Forums

Share and learn in the Docker community.

WinDDK on Docker Unable to determine the current Windows OS SKU. Unrecognized version number


(Ronaldheinen) #1

Issue type
Docker build error

OS Version/build
Windows 10 enterprise 1803 (build 17134.523)

App version
Docker Desktop Community 2.0.0.2 (30215) build 0b030e1

Steps to reproduce
I want to setup a buildserver-container to replace an VSTS buildserver vm.
On this build-server I need to use WinDDK_7600.16385.1 (yes an older version).
Requirement for an WINDDK installation is DotNet 3.5.
In the Dockerfile below I enable first dotnet 3.5 feature.
Then install WinDDK.
On a test vm with Windows 10 1803 pro this installation works.
On Docker this doesn’t work.

Does someone have experience with this ?

Dockerfile

FROM microsoft/dotnet-framework:4.7.2-runtime-20181113-windowsservercore-1803

Copy WinSXS to c:\zz_WinSXS

COPY [“Winsxs”, “c:/zz_WinSXS/”]

Enable DotNet_3.5 feature

RUN Dism /online /enable-feature /featurename:NetFx3 /All /LimitAccess /Source:c:\zz_WinSXS

Copy WinDDK_7600.16385.1 to c:\temp

COPY [“WinDDK_7600.16385.1”, “C:/zz_WinDDK/”]

Run WinDDK_7600.16385.1 installer

RUN “C:\zz_WinDDK\KitSetup.exe /install ALL /ui-level EXPRESS”

Show content of c:\

RUN DIR c:\

The error I get

C:>C:\zz_WinDDK\KitSetup.exe /install ALL /ui-level EXPRESS

C:>



KitSetup.exe version 202.104.808.2200 - Copyright � 2009 Microsoft Corp.



[ Attached parent process console ]

External files and directory locations:

Activity logfile … C:\Users\ContainerAdministrator\AppData\Local\Temp\KitSetup.log
SKOM XML search root … C:\zz_WinDDK
Software kit media root … C:\zz_WinDDK\

FATAL ERROR EXCEPTION during runtime subsystem initializations!

###########################

KitSetup Error Exception Code 0x0018:

Unable to determine the current Windows OS SKU. Unrecognized version number.

###########################