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

Disable iptables in swarm test daemons

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi 2016-06-24 12:09:53 -07:00
parent 39211d113b
commit caaf92f7b4

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 {