From dae1541529cc2810fd603460f55f12291ac6ccbb Mon Sep 17 00:00:00 2001 From: Mario Loriedo Date: Mon, 3 Feb 2025 13:32:41 +0100 Subject: [PATCH] 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 --- pkg/machine/wsl/declares.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/machine/wsl/declares.go b/pkg/machine/wsl/declares.go index a1f13ae310..bbc4215a7e 100644 --- a/pkg/machine/wsl/declares.go +++ b/pkg/machine/wsl/declares.go @@ -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"]