Podman not using Pasta in certain cases #24290
Closed
jaimehrubiks
started this conversation in
General
Replies: 1 comment
-
That is just how this works, #22943 (comment) If you want to use bridge networks you need netavark and all the stuff it needs to configure that You can configure netavark to use nftables: https://fedoraproject.org/wiki/Changes/NetavarkNftablesDefault#How_To_Test But also you should not need to install iptables at al on a RHEL system as it should already be a dependey in the rpms and there is no iptables-legacy use on RHEL 8 and newer as they only use the iptables-nft compat layer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue Description
Podman not using Pasta in certain cases. This makes it NOT work when going rootless.
These cases are
Steps to reproduce the issue
This works:
This doesn't work:
Describe the results you received
You can see how the container that works fine (without --network, or without docker compose), has pasta in the NetworkMode, while the other doesn't
Describe the results you expected
No errors
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
AWS instance
Additional information
I can fix the issue if I configure this in the system:
dnf install netavark # this would also install dependencies: iptables-libs, iptables-legacy and iptables-legacy-libs modprobe ip_tables
Then, it works, but I'm not sure if it's using Pasta when doing so
If we compare to the above case (when not specifying --network, and not using compose), we see the containers with this:
"NetworkMode": "pasta",
Beta Was this translation helpful? Give feedback.
All reactions