diff --git a/docker/docker.go b/docker/docker.go index 530bd1277a..6932d32776 100644 --- a/docker/docker.go +++ b/docker/docker.go @@ -95,6 +95,10 @@ func main() { log.Fatal("You specified -b & --bip, mutually exclusive options. Please specify only one.") } + if !*flEnableIptables && !*flInterContainerComm { + log.Fatal("You specified --iptables=false with --icc=false. ICC uses iptables to function. Please set --icc or --iptables to true.") + } + if *flDebug { os.Setenv("DEBUG", "1") }