Skip to content

Withdrawn: containerd nftables table (image packages are the #9449 fix) - #9746

Closed
mubashir1osmani wants to merge 1 commit into
concourse:masterfrom
mubashir1osmani:fix/containerd-nftables
Closed

mubashir1osmani wants to merge 1 commit into
concourse:masterfrom
mubashir1osmani:fix/containerd-nftables

Conversation

@mubashir1osmani

@mubashir1osmani mubashir1osmani commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

the original code here creates an inet concourse table through the nft binary but the published image does not include nft, so auto falls back to the legacy binaries (iptables, ip6tables) and it would still crash

The containerd runtime shelled out to iptables for restricted networks,
host isolation, and paused containers, and the CNI bridge plugin did the
same for masquerade. Hosts without legacy iptables tables fail container
network setup.

Prefer an nftables table named concourse when nft can create it. That
path omits the CNI firewall plugin and writes the same policy itself.
Fall back to the existing iptables chains when nftables is unavailable.
Operators can force either backend with --containerd-firewall-backend.
@mubashir1osmani

mubashir1osmani commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor Author

closing this, some users in this thread #9449 built the concourse docker image with iptables-nft etc. and it overrode the binaries that were shipped by our native Dockerfile https://github.com/concourse/concourse-docker/blob/master/Dockerfile

#9449 fails because the image's iptables and ip6tables are the legacy binaries (xtables-legacy-multi). The worker and the CNI plugins already exec those commands. Installing iptables-nft and iptables-wrappers points them at the nft backend so building the image with these packages should solve the issue. posted screenshots in this concourse/concourse-docker#88.

@mubashir1osmani mubashir1osmani changed the title containerd: prefer nftables for the worker firewall Withdrawn: containerd nftables table (image packages are the #9449 fix) Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant