mirror of https://github.com/docker/docs.git
Disable iptables in swarm test daemons
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> (cherry picked from commit caaf92f7b4b947c5d226fb66a355b60fac683979)
This commit is contained in:
parent
0762cce09a
commit
e5fb8b1fb6
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue