Building under windows is not possible after 23H2

Open
#14 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker

Research direction

Start by reproducing the reported docker build and buildx failures on Windows 11 23H2 and 24H2 with the Windows host process base image, then compare results with Windows 22H2 or Linux. Investigate the hcsshim ImportLayer and privileged-mode errors. Done means the image builds successfully on supported current Windows versions without requiring a Linux builder.

Written by the indexing model from the issue text.

Description

Under windows 11 23H2 and 24H2 building a container which has the windows host process container as a base is not possible anymore.

With docker build we get the error:
re-exec error: exit status 1: output: hcsshim::ImportLayer failed in Win32: The configuration registry database is corrupt. (0x3f1)

With buildx we get the error:
ERROR: Error response from daemon: Windows does not support privileged mode

For us building such host process containers is only possible in older Windows 11 versions like 22H2 or under Linux.

I would expect to build a windows host process container also under Windows (since it is a Windows container) and not need to rely in future to a Linux instance for example.

Dominant language
PowerShell
Stars
56
Forks
10
Avg merge
1d 18h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/windows-host-process-containers-base-image

All issues in microsoft/windows-host-process-containers-base-image

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.