integration/network/bridge/nftablesdoc/index.md
[!WARNING] This is intended for development use - the structure of docker's nftables rules will change between releases, it is not a stable interface.
[!NOTE] This document is generated by
TestBridgeNftablesDocby running a daemon, creating networks and containers, and capturing nftables. The nftables are then merged with a text/template for each section. The resulting document is diffed against one in the repo, so the test will fail if there are differences in the generated rules (but changes in the templates may go unnoticed).
IPv6 nftables rules follow the same pattern as IPv4 rules, they're in
different tables (ip docker-bridges, and ip6 docker-bridges). So,
only the IPv4 rules are shown here.
The tables are re-created each time Docker starts.
The filter-INPUT hook is not used by Docker. Packets arriving from the host's physical network or the host itself hit the filter-FORWARD chain, as they are routed into the bridge network. Similarly, filter-OUTPUT is not used.
Scenarios: