podman icon indicating copy to clipboard operation
podman copied to clipboard

Huston, we got a problem , but do not know how to report it.

Open ghost opened this issue 4 years ago • 6 comments

podman won't working corrent on debian/ubuntu for windows WSL2.

https://github.com/microsoft/WSL/issues/7948

I am confused about the problem,

Is it a linux kernel problem ?

Or is it a debian problem , because ubuntu is base on debian, both them not working. who should respect it ?

Or is it a podman problem?

The error lot said nf_tables no such file ...

make it looks like a linux kernel problem

but i have no idea, what is the real problem cause.

ghost avatar Jan 22 '22 16:01 ghost

see: https://github.com/microsoft/WSL/issues/7948

ghost avatar Jan 22 '22 16:01 ghost

Looks specifically to be a problem with that one specific Ubuntu version. This should be fixed upstream by newer versions of Podman and CNI, I believe?

Is there any chance you can update to a newer Ubuntu, which gets its Podman packages from Debian mainline?

mheon avatar Jan 24 '22 14:01 mheon

I also tried debian with the latest testing debian (Bookworm), problem still exists. Especially for WSL2 on windows, I am not sure what's wrong. The current OpenSuse Tumbleweed not have problem.

ghost avatar Jan 24 '22 15:01 ghost

I think wsl cannot handle nf_tables properly and debian defaults to iptables-nft. Can you change to iptables-legacy as described here https://wiki.debian.org/nftables. I think this should work.

Luap99 avatar Jan 24 '22 19:01 Luap99

@Luap99 Thanks, this fixed it for me (using debian testing on wsl2).

0x7d7b avatar Feb 08 '22 07:02 0x7d7b

I am not need podman for WSL anymore , I run a real podman on linux server, and using podman remote connect to the linux server. it's ok for me

ghost avatar Feb 08 '22 07:02 ghost