mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #2014 from msabansal/icsdnsissue
Fix for docker intercepting DNS requests on ICS network
This commit is contained in:
commit
6a350429fb
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue