mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Use more clear message for icc=false + iptables=false
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
82a8a14c4d
commit
ab495ab0d0
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ func checkConfigOptions(config *Config) error {
|
|||
return fmt.Errorf("You specified -b & --bip, mutually exclusive options. Please specify only one.")
|
||||
}
|
||||
if !config.Bridge.EnableIPTables && !config.Bridge.InterContainerCommunication {
|
||||
return fmt.Errorf("You specified --iptables=false with --icc=false. ICC uses iptables to function. Please set --icc or --iptables to true.")
|
||||
return fmt.Errorf("You specified --iptables=false with --icc=false. ICC=false uses iptables to function. Please set --icc or --iptables to true.")
|
||||
}
|
||||
if !config.Bridge.EnableIPTables && config.Bridge.EnableIPMasq {
|
||||
config.Bridge.EnableIPMasq = false
|
||||
|
|
Loading…
Reference in a new issue