spiegel_podman/cmd/rootlessport
Paul Holzinger eccf43cdbd
cmd/rootlessport: remove wsl workaround
Having a special wsl work around in the code always felt wrong to me.
This does nothing to fix the pasta or rootful port binding behavior.

To actually fix this for all we can set the new podman 6
default_host_ips containers.conf option in the WSL machine-os image by
default:

[network]
default_host_ips = ["0.0.0.0", "::"]

That should make all code paths bind two sockets which WSL needs as it
is unable to recognize a dual stack ipv6 socket for ipv4 as well.

ref https://github.com/podman-container-tools/podman/issues/29377

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-08-20 12:36:52 +02:00
..
main.go cmd/rootlessport: remove wsl workaround 2026-08-20 12:36:52 +02:00