Skip to content

Commit 6354155

Browse files
committed
Sync interface name with docker-up and nsinsider
Context: gitpod-io/gitpod#16368 (comment)
1 parent 81854eb commit 6354155

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
@@ -1118,7 +1118,7 @@ func (s *composeService) ensureNetwork(ctx context.Context, n types.NetworkConfi
11181118
createOpts.Options = make(map[string]string)
11191119
}
11201120

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

0 commit comments

Comments
 (0)