Building under windows is not possible after 23H2
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
- Domain
- build-system, devops, operating-systems
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/windows-host-process-containers-base-image
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Docker or Kubernetes Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
microsoft/windows-host-process-containers-base-image#13 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/windows-host-process-containers-base-image#12 · 3 comments ·
All issues in microsoft/windows-host-process-containers-base-image
Similar issues
-
Needs Design Priority: Wishlist
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
elementary/flatpak-platform#253 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
objectionary/hone-maven-plugin#1060 ·
-
0.kind: build failure
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Update Vish to 1.1.5 Openpackage-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100