mirror of
https://github.com/moby/moby.git
synced 2026-08-09 09:33:50 +00:00
Flush iptables chains DOCKER-CT, DOCKER-BRIDGE on startup
These chains were added in commit 76417bf ("Don't use ipset"), but
not included in the list of chains that get flushed and deleted
on daemon startup.
Signed-off-by: Rob Murray <rob.murray@docker.com>
This commit is contained in:
@@ -677,6 +677,8 @@ func removeIPChains(version iptables.IPVersion) {
|
||||
{Name: DockerChain, Table: iptables.Nat, IPVersion: version},
|
||||
{Name: DockerChain, Table: iptables.Filter, IPVersion: version},
|
||||
{Name: DockerForwardChain, Table: iptables.Filter, IPVersion: version},
|
||||
{Name: DockerBridgeChain, Table: iptables.Filter, IPVersion: version},
|
||||
{Name: DockerCTChain, Table: iptables.Filter, IPVersion: version},
|
||||
{Name: IsolationChain1, Table: iptables.Filter, IPVersion: version},
|
||||
{Name: IsolationChain2, Table: iptables.Filter, IPVersion: version},
|
||||
{Name: oldIsolationChain, Table: iptables.Filter, IPVersion: version},
|
||||
|
||||
Reference in New Issue
Block a user