Win2022 Container does not build on Win10 Host
Erich-McMillan opened this issue · 1 comments
Erich-McMillan commented
Describe the bug
I am running Win10 10.0.19045, can't build Win2022 container.
To Reproduce
Steps to reproduce the behavior:
- Go to Windows-2022
- Run
docker build .
- See error:
PS C:\Users\emcmillan\Repos\tiano-containers\Windows-2022> docker build . Sending build context to Docker daemon 3.584kB Step 1/17 : FROM mcr.microsoft.com/windows/servercore:ltsc2022 AS build ltsc2022: Pulling from windows/servercore no matching manifest for windows/amd64 10.0.19045 in the manifest list entries
Expected behavior
Container should build on Win10, or a Win10 compatible container should be available. Switching to mcr.microsoft.com/windows/servercore:ltsc2019
allows the container to start building on Win10.
Execution environment
Host OS: Win10 10.0.19045
Docker Version: 20.10.20, build 9fdeb9c
bcran commented
Windows requires that the version of Windows running in the container matches that of the host.
We might want to add a Windows-2019 container for people using Windows 10.