Fix for docker intercepting DNS requests on ICS network

Signed-off-by: Sandeep Bansal <sabansal@microsoft.com>
This commit is contained in:
Sandeep Bansal 2017-11-17 13:03:41 -08:00
parent a41f623b10
commit 2a219a04cc
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@ func executeInCompartment(compartmentID uint32, x func()) {
}
func (n *network) startResolver() {
if n.networkType == "ics" {
return
}
n.resolverOnce.Do(func() {
logrus.Debugf("Launching DNS server for network %q", n.Name())
options := n.Info().DriverOptions()