Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win2022 Container does not build on Win10 Host #35

Open
Erich-McMillan opened this issue Oct 27, 2022 · 1 comment
Open

Win2022 Container does not build on Win10 Host #35

Erich-McMillan opened this issue Oct 27, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Erich-McMillan
Copy link

Describe the bug
I am running Win10 10.0.19045, can't build Win2022 container.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Windows-2022
  2. Run docker build .
  3. 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

@Erich-McMillan Erich-McMillan added the bug Something isn't working label Oct 27, 2022
@ghost
Copy link

ghost commented Mar 30, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant