Skip to content

Commit db903d8

Browse files
aledbfroboquat
authored andcommitted
[docker-up] Configfure docker0 MTU
1 parent 4a99050 commit db903d8

File tree

1 file changed

+2
-0
lines changed
  • components/docker-up/docker-up

1 file changed

+2
-0
lines changed

components/docker-up/docker-up/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ func runWithinNetns() (err error) {
130130
}
131131

132132
args = append(args, fmt.Sprintf("--mtu=%v", netIface.Attrs().MTU))
133+
// configure docker0 MTU (used as control plane, not related to containers)
134+
args = append(args, fmt.Sprintf("--network-control-plane-mtu=%v", netIface.Attrs().MTU))
133135

134136
if listenFDs > 0 {
135137
os.Setenv("LISTEN_PID", strconv.Itoa(os.Getpid()))

0 commit comments

Comments
 (0)