@@ -10,7 +10,8 @@ keywords: network, nftables, firewall
1010> Support for nftables introduced in Docker 29.0.0 is experimental, configuration
1111> options, behavior and implementation may all change in future releases.
1212> The rules for overlay networks have not yet been migrated from iptables.
13- > So, nftables cannot be enabled when the daemon has Swarm enabled.
13+ > Therefore, nftables cannot be enabled when the Docker daemon is running in
14+ > Swarm mode.
1415
1516To use nftables instead of iptables, use Docker Engine option
1617` --firewall-backend=nftables ` on its command line, or ` "firewall-backend": "nftables" `
@@ -37,11 +38,13 @@ Each table contains a number of [base chains](https://wiki.nftables.org/wiki-nft
3738and further chains are added for each bridge network. The moby project
3839has some [ internal documentation] ( https://github.com/moby/moby/blob/master/integration/network/bridge/nftablesdoc/index.md )
3940describing its nftables, and how they depend on network and container
40- configuration. But , the tables and their rules are likely to change between
41- Docker Engine releases.
41+ configuration. However , the tables and their rules are likely to change
42+ between Docker Engine releases.
4243
43- Do not modify Docker's tables directly as the modifications are likely to
44- be lost, Docker expects to have full ownership of its tables.
44+ > [ !NOTE]
45+ >
46+ > Do not modify Docker's tables directly as the modifications are likely to
47+ > be lost, Docker expects to have full ownership of its tables.
4548
4649> [ !NOTE]
4750>
@@ -119,7 +122,7 @@ unwanted forwarding. Docker's bridges are in a firewalld zone called
119122` docker ` , it creates a forwarding policy called ` docker-forwarding ` that
120123accepts forwarding from ` ANY ` zone to the ` docker ` zone.
121124
122- As an example, to use nftables to block forwarding between interfaces ` eth0 `
125+ For example, to use nftables to block forwarding between interfaces ` eth0 `
123126and ` eth1 ` , you could use:
124127
125128``` console
@@ -268,5 +271,5 @@ table ip my-table {
268271}
269272```
270273
271- For more detailed information about nftables configuration and advanced usage,
274+ For more information about nftables configuration and advanced usage,
272275refer to the [ nftables wiki] ( https://wiki.nftables.org/wiki-nftables/index.php/Main_Page ) .
0 commit comments