Skip to content

Commit

Permalink
Force use of iptables on Windows WSL
Browse files Browse the repository at this point in the history
This is a workaround for containers#25201 and helps with
upgrading the WSL image to Fedora 41.

Signed-off-by: Mario Loriedo <[email protected]>
  • Loading branch information
l0rd authored and openshift-cherrypick-robot committed Feb 4, 2025
1 parent 95b678b commit 9b67d4c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/machine/wsl/declares.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ const containersConf = `[containers]
[engine]
cgroup_manager = "cgroupfs"
# Using iptables until we fix nftables on WSL:
# https://github.com/containers/podman/issues/25201
[network]
firewall_driver="iptables"
`

const registriesConf = `unqualified-search-registries=["docker.io"]
Expand Down

0 comments on commit 9b67d4c

Please sign in to comment.