mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05: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:
parent
80439a4ce2
commit
126d1b6ca1
1 changed files with 2 additions and 0 deletions
|
@ -445,6 +445,8 @@ func initBridgeDriver(controller libnetwork.NetworkController, config *Config) e
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
ipamV4Conf.Gateway = ip.String()
|
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 != "" {
|
if config.Bridge.FixedCIDR != "" {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue