Fix for docker intercepting DNS requests on ICS network
Signed-off-by: Sandeep Bansal <sabansal@microsoft.com>
This commit is contained in:
parent
a41f623b10
commit
2a219a04cc
|
@ -28,6 +28,9 @@ func executeInCompartment(compartmentID uint32, x func()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n *network) startResolver() {
|
func (n *network) startResolver() {
|
||||||
|
if n.networkType == "ics" {
|
||||||
|
return
|
||||||
|
}
|
||||||
n.resolverOnce.Do(func() {
|
n.resolverOnce.Do(func() {
|
||||||
logrus.Debugf("Launching DNS server for network %q", n.Name())
|
logrus.Debugf("Launching DNS server for network %q", n.Name())
|
||||||
options := n.Info().DriverOptions()
|
options := n.Info().DriverOptions()
|
||||||
|
|
Loading…
Reference in New Issue