mirror of
https://github.com/moby/moby.git
synced 2025-07-30 18:23:29 +03:00
Setting iptables=false should propagate to ip-masq=false
Signed-off-by: Jessica Frazelle <jess@docker.com>
This commit is contained in:
@ -82,3 +82,13 @@ func TestDaemonRestartWithVolumesRefs(t *testing.T) {
|
||||
|
||||
logDone("daemon - volume refs are restored")
|
||||
}
|
||||
|
||||
func TestDaemonStartIptablesFalse(t *testing.T) {
|
||||
d := NewDaemon(t)
|
||||
if err := d.Start("--iptables=false"); err != nil {
|
||||
t.Fatalf("we should have been able to start the daemon with passing iptables=false: %v", err)
|
||||
}
|
||||
d.Stop()
|
||||
|
||||
logDone("daemon - started daemon with iptables=false")
|
||||
}
|
||||
|
Reference in New Issue
Block a user