mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #13162 from jfrazelle/add-modprobe-br_netfilter
modprobe br_netfilter
This commit is contained in:
commit
e0777e69cb
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ func InitDriver(config *Config) error {
|
|||
|
||||
// try to modprobe bridge first
|
||||
// see gh#12177
|
||||
if out, err := exec.Command("modprobe", "-va", "bridge", "nf_nat").Output(); err != nil {
|
||||
if out, err := exec.Command("modprobe", "-va", "bridge", "nf_nat", "br_netfilter").Output(); err != nil {
|
||||
logrus.Warnf("Running modprobe bridge nf_nat failed with message: %s, error: %v", out, err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue