1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #23944 from tonistiigi/disable-iptables

Disable iptables in swarm test daemons
This commit is contained in:
Brian Goff 2016-06-25 20:22:59 -04:00 committed by GitHub
commit d4bff5e3aa

View file

@ -208,7 +208,7 @@ func (s *DockerSwarmSuite) AddDaemon(c *check.C, joinSwarm, manager bool) *Swarm
port: defaultSwarmPort + s.portIndex,
}
d.listenAddr = fmt.Sprintf("0.0.0.0:%d", d.port)
err := d.StartWithBusybox()
err := d.StartWithBusybox("--iptables=false") // avoid networking conflicts
c.Assert(err, check.IsNil)
if joinSwarm == true {