Skip to content

Commit dae1541

Browse files
committed
Force use of iptables on Windows WSL
This is a workaround for #25201 and helps with upgrading the WSL image to Fedora 41. Signed-off-by: Mario Loriedo <[email protected]>
1 parent e6a3523 commit dae1541

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/machine/wsl/declares.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ const containersConf = `[containers]
1212
1313
[engine]
1414
cgroup_manager = "cgroupfs"
15+
16+
# Using iptables until we fix nftables on WSL:
17+
# https://github.com/containers/podman/issues/25201
18+
[network]
19+
firewall_driver="iptables"
1520
`
1621

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

0 commit comments

Comments
 (0)