Skip to content

Downlevel support for Windows 11 doesn't seem to work for some images #179

@jsturtevant

Description

@jsturtevant

On windows 11:

cmd /c ver
Microsoft Windows [Version 10.0.22000.258]      

I am able to run some WS 2022 images even thought they have the correct build numbers:

docker run --isolation=process --rm mcr.microsoft.com/windows/nanoserver:ltsc2022 cmd /c echo hello                    
 hello                                    
 ./manifest-tool-linux-amd64 inspect --raw mcr.microsoft.com/windows/nanoserver:ltsc2022 | jq ‘.[] .Platform’
{
“architecture”: “”,
“os”: “”
}
{
“architecture”: “amd64”,
“os”: “windows”,
“os.version”: “10.0.20348.288”
}      

But not others:

docker run --isolation=process --rm k8s.gcr.io/e2e-test-images/busybox:1.29-2 cmd /c echo hello
docker: Error response from daemon: container 5ff61c6cb106ce89cb0117f810cab29e02cd19c750d9c66a1918aeca5d3176be encountered an error during hcsshim::System::Start: failure in a Windows system call: The container operating system does not match the host operating system. (0xc0370101).   
/manifest-tool-linux-amd64  inspect --raw k8s.gcr.io/e2e-test-images/busybox:1.29-2 | jq '.[] .Platform'
{
  "architecture": "",
  "os": ""
}
{
  "architecture": "amd64",
  "os": "linux"
}
{
  "architecture": "arm",
  "os": "linux",
  "variant": "v7"
}
{
  "architecture": "arm64",
  "os": "linux"
}
{
  "architecture": "ppc64le",
  "os": "linux"
}
{
  "architecture": "s390x",
  "os": "linux"
}
{
  "architecture": "amd64",
  "os": "windows",
  "os.version": "10.0.17763.2114"
}
{
  "architecture": "amd64",
  "os": "windows",
  "os.version": "10.0.19041.1165"
}
{
  "architecture": "amd64",
  "os": "windows",
  "os.version": "10.0.19042.1165"
}
{
  "architecture": "amd64",
  "os": "windows",
  "os.version": "10.0.20348.169"
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions