-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman not running , because nf_tables not work. #7948
Comments
This is an issue with how podman is configured in Ubuntu. Ubuntu 21.10 Impish is the only version of Ubuntu that has podman packaged from the main repository. I am able to reproduce this on Ubuntu 21.10 Impish. I am unable to reproduce this on openSUSE Tumbleweed. This does not appear to be an issue with WSL and should be reported to Ubuntu via Launchpad. Able to reproduce on Ubuntu 21.10 Impish:
Unable to reproduce on openSUSE Tumbleweed:
|
Thank you @sirredbeard , openSuse god like. |
For any one want to use OpenSuse Tumbleweed, if you were in china, you should choice using tuna mirror
|
I also tested with debian, still got error. root@DESKTOP-E9OC92M:~# podman run hello-world
ERRO[0000] unable to write pod event: "write unixgram @0000d->/run/systemd/journal/socket: sendmsg: no such file or directory"
ERRO[0000] Error adding network: running [/usr/sbin/iptables -t nat -C CNI-0d148e94f377c39f9619939f -d 172.16.16.2/24 -j ACCEPT -m comment --comment name: "podman" id: "808fff2058e21aa9d0f9e3e2a6a5e1ad853cc1d0afc3e4bf2a3c1c832affe809" --wait]: exit status 2: iptables v1.8.7 (nf_tables): Couldn't load match `comment':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
ERRO[0000] Error while adding pod to CNI network "podman": running [/usr/sbin/iptables -t nat -C CNI-0d148e94f377c39f9619939f -d 172.16.16.2/24 -j ACCEPT -m comment --comment name: "podman" id: "808fff2058e21aa9d0f9e3e2a6a5e1ad853cc1d0afc3e4bf2a3c1c832affe809" --wait]: exit status 2: iptables v1.8.7 (nf_tables): Couldn't load match `comment':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
Error: error configuring network namespace for container 808fff2058e21aa9d0f9e3e2a6a5e1ad853cc1d0afc3e4bf2a3c1c832affe809: running [/usr/sbin/iptables -t nat -C CNI-0d148e94f377c39f9619939f -d 172.16.16.2/24 -j ACCEPT -m comment --comment name: "podman" id: "808fff2058e21aa9d0f9e3e2a6a5e1ad853cc1d0afc3e4bf2a3c1c832affe809" --wait]: exit status 2: iptables v1.8.7 (nf_tables): Couldn't load match `comment':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
|
My new question is : If i want to submit bug report, which is the right place. Or anyone can take a look at this question? |
You can report WSL-specific bugs in Ubuntu on WSL here: https://bugs.launchpad.net/ubuntuwsl You could then report and cross-reference the bug on the podman package itself in Ubuntu and Debian. On Ubuntu search for the package and follow the link on the right to report it: https://packages.ubuntu.com/impish/podman You can do the same on Debian: https://packages.debian.org/bookworm/podman and file the bug here: https://bugs.debian.org/podman |
Based on my experience with Debian Sid, I suspect that:
|
I would like to check if anyone working on this issue? Not sure if @davdr suggestion will work but If you have to update something to use the legacy on the os, I would think that the issue is with Podman implementation. Should we just give up and conclude that Podman can not replace docker yet as it is missing essential feature of running priviledge container which is required by podman itself to be able to run podman inside a podman container? |
FWIW, Docker CE has exactly the same problem under WSL2: https://dev.to/lemosluan/comment/1nmi7 |
fixed the issue for me. I had podman 3.4.4 on ubuntu 22.04. |
Works for me! |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Version
windows 11 latest
WSL Version
Kernel Version
5.10.81.1
Distro Version
ubuntu 22.04
Other Software
No response
Repro Steps
Expected Behavior
container up and runing
Actual Behavior
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: