Repository navigation
Conversation
joei4cm
requested review from
MikeRyanDev,
davidmckayv,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 30, 2026 14:03
joei4cm
force-pushed
the
fix/1860-windows-wsl-provider
branch
from
December 1, 2026 14:02
eb770b3 to
356a962
Compare
Podman's Windows installer asks whether to use WSL or Hyper-V and writes the answer to 99-podman-machine-provider.conf, so `podman machine init` followed it. With Hyper-V remembered, init goes through Podman's Hyper-V backend and enumerates root\virtualization\v2 over WMI: on Windows 11 Home that namespace does not exist, and the step fails with "could not find virtual machine: failure advancing enumeration" (CopilotKit#1860). On the editions that do have Hyper-V it makes a machine OpenBot cannot use, because the user-mode networking that follows belongs to the WSL provider. The rest of the Windows setup already assumes a WSL machine: init registers a WSL distribution, the disk is placed by provisionWSLDist under the machine home, and user-mode networking is the WSL provider's own podman-net-usermode distribution. So the provider is named on Windows, and only there. Co-Authored-By: Claude Code <noreply@anthropic.com>
joei4cm
force-pushed
the
fix/1860-windows-wsl-provider
branch
from
December 1, 2026 14:21
356a962 to
c90e64d
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Setup on Windows now asks Podman for a WSL machine, instead of letting Podman follow the provider
its Windows installer wrote down.
Podman's Windows installer asks whether to use WSL or Hyper-V and remembers the answer in
99-podman-machine-provider.confunder%APPDATA%\containers\containers.conf.d\. With Hyper-Vremembered,
podman machine initgoes through Podman's Hyper-V backend, which enumeratesroot\virtualization\v2over WMI: on Windows 11 Home that namespace does not exist and the stepfails with
could not find virtual machine: failure advancing enumeration(#1860), and on theeditions that do have Hyper-V it makes a machine OpenBot cannot use, because the user-mode
networking that follows belongs to the WSL provider.
Everything else in the Windows setup already assumes a WSL machine:
machine initregisters a WSLdistribution, the machine's disk is placed by
provisionWSLDistunder the install folder, andmachine set --user-mode-networking=trueis the WSL provider's ownpodman-net-usermodedistribution. The provider is now named, so the machine is made the way the rest of the setup
expects it to be.
The flag is added on Windows only. macOS keeps the provider Podman gives it (
applehvon Applesilicon since 6.1).
Where it runs
person's computer, before a server is started.
podman machine initthe desktop runs once, for the machine it makes for itself.Boundary and audit
trusted from a client.
API and database
api/, no app's requests, no database change and norelease-policy.json.Changelog
CHANGELOG.mdunderUnreleased.Proof
cargo test --libpassed: 1381 passed, 0 failed.cargo fmt --checkandgit diff --checkpassed.cargo clippy --all-targets -- -D warningspassed.a Hyper-V provider remembered.
Related to #1860.
🤖 Generated with Claude Code