Skip to content

Commit e905aab

Browse files
kylos101aledbf
authored andcommitted
Sync interface name with docker-up and nsinsider
Context: gitpod-io/gitpod#16368 (comment)
1 parent cfe8151 commit e905aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/compose/create.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ func (s *composeService) ensureNetwork(ctx context.Context, n types.NetworkConfi
11631163
createOpts.Options = make(map[string]string)
11641164
}
11651165

1166-
netIface, err := netlink.LinkByName("ceth0")
1166+
netIface, err := netlink.LinkByName("eth0")
11671167
if err == nil {
11681168
createOpts.Options["com.docker.network.driver.mtu"] = fmt.Sprintf("%v", netIface.Attrs().MTU)
11691169
}

0 commit comments

Comments
 (0)