Skip to content
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

CNI bridge firewall: avoid using iptables backend on rootless mode #4655

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

See containerd/nerdctl issue 2818

Similar to containerd/nerdctl PR 2819

Signed-off-by: Akihiro Suda <[email protected]>
@AkihiroSuda AkihiroSuda added the area/rootless rootless mode label Feb 16, 2024
@AkihiroSuda AkihiroSuda added this to the v0.13.0 milestone Feb 16, 2024
@tonistiigi
Copy link
Member

What's the behavior difference of this? If this works always then we could just use this and skip adding firewall binary to the exported image.

@AkihiroSuda
Copy link
Member Author

What's the behavior difference of this?

The iptables backend directly execs iptables binary (which works fine inside the user namespace).

The firewalld backend (default, when firewalld is detected) talks to the firewalld daemon. This fails for rootless:

If this works always then we could just use this and skip adding firewall binary to the exported image.

No, this is the configuration for the firewall plugin

@tonistiigi tonistiigi merged commit 0174381 into moby:master Feb 20, 2024
66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rootless rootless mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants