code: func verifyDaemonSettings(conf *config.Config) error {
  	// Check for mutually incompatible config options
  	if conf.BridgeConfig.Iface != "" && conf.BridgeConfig.IP != "" {
  		return fmt.Errorf("You specified -b & --bip, mutually exclusive options. Please specify only one")
  	}
  	if !conf.BridgeConfig.EnableIPTables && !conf.BridgeConfig.InterContainerCommunication {
  		return fmt.Errorf("You specified --iptables=false with --icc=false. ICC=false uses iptables to function. Please set --icc or --iptables to true")
  	}
  	if !conf.BridgeConfig.EnableIPTables && conf.BridgeConfig.EnableIPMasq {
  		conf.BridgeConfig.EnableIPMasq = false
  	}
  	if err := VerifyCgroupDriver(conf); err != nil {
  		return err
  	}
  	if conf.CgroupParent != "" && UsingSystemd(conf) {
  		if len(conf.CgroupParent) <= 6 || !strings.HasSuffix(conf.CgroupParent, ".slice") {
  			return fmt.Errorf("cgroup-parent for systemd cgroup should be a valid slice named as \"xxx.slice\"")
  		}
  	}
  
  	if conf.DefaultRuntime == "" {
  		conf.DefaultRuntime = config.StockRuntimeName
  	}
  	if conf.Runtimes == nil {
  		conf.Runtimes = make(map[string]types.Runtime)
  	}
  	conf.Runtimes[config.StockRuntimeName] = types.Runtime{Path: DefaultRuntimeName}
  
  	return nil
  }
docs: // verifyDaemonSettings performs validation of daemon config struct