mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Make libnetwork responsible for DOCKER-USER setup/reload
It no longer needs to be moved to the top of the filter-FORWARD chain after creating a new bridge network. But, it does need to be rearranged after setting up Swarm ingress. Similarly, the jump to DOCKER-INGRESS no longer needs to be shuffled back to the top of the FORWARD chain after adding a new network. Signed-off-by: Rob Murray <rob.murray@docker.com>
This commit is contained in:
@@ -854,10 +854,6 @@ func (daemon *Daemon) initNetworkController(cfg *config.Config, activeSandboxes
|
||||
return err
|
||||
}
|
||||
|
||||
if err := daemon.netController.SetupUserChains(); err != nil {
|
||||
log.G(context.TODO()).WithError(err).Warnf("initNetworkController")
|
||||
}
|
||||
|
||||
// Set HostGatewayIP to the default bridge's IP if it is empty
|
||||
setHostGatewayIP(daemon.netController, cfg)
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user