mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
Simple log to indicate the chosen IP Address for the default bridge
Signed-off-by: Madhu Venugopal <madhu@docker.com>
This commit is contained in:
@@ -445,6 +445,8 @@ func initBridgeDriver(controller libnetwork.NetworkController, config *Config) e
|
||||
return err
|
||||
}
|
||||
ipamV4Conf.Gateway = ip.String()
|
||||
} else if bridgeName == bridge.DefaultBridgeName && ipamV4Conf.PreferredPool != "" {
|
||||
logrus.Infof("Default bridge (%s) is assigned with an IP address %s. Daemon option --bip can be used to set a preferred IP address", bridgeName, ipamV4Conf.PreferredPool)
|
||||
}
|
||||
|
||||
if config.Bridge.FixedCIDR != "" {
|
||||
|
||||
Reference in New Issue
Block a user