19.12.19

Run Docker containers with Azure DevOps error: Container feature requires Windows Server 1803 or higher. Please reference documentation


When I used the most basic azure-pipelines.yml with container integration:

pool: 'DockerManager'

container: mcr.microsoft.com/windows/servercore:1903

steps:
- script: set


I've got a strange error:  Container feature requires Windows Server 1803 or higher. Please reference documentation.

Even though my machine has the latest version:
Edition: Windows 10 Enterprise
Version: 1909
OS build: 18363.535

I went into the code of Azure DevOps build agent and I found that it looks for version 1909 and...
OS type SERVER....

In order to bypass it, I've changed the registry value of "InstallationType" from Client to Server at:
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion


1 comment:

  1. We feature the same first-rate Windows and Microsoft products that you’ll find offered with larger companies, but you won’t find a better rate purchase of windows 10.

    ReplyDelete