From e905aabce0c89f363b0017e4afe6ea70c00fb105 Mon Sep 17 00:00:00 2001 From: Kyle Brennan Date: Mon, 20 Feb 2023 15:44:14 +0000 Subject: [PATCH] Sync interface name with `docker-up` and `nsinsider` Context: https://github.com/gitpod-io/gitpod/pull/16368#issuecomment-1437114679 --- pkg/compose/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compose/create.go b/pkg/compose/create.go index 9691c822dd4..551b78f7b8d 100644 --- a/pkg/compose/create.go +++ b/pkg/compose/create.go @@ -1163,7 +1163,7 @@ func (s *composeService) ensureNetwork(ctx context.Context, n types.NetworkConfi createOpts.Options = make(map[string]string) } - netIface, err := netlink.LinkByName("ceth0") + netIface, err := netlink.LinkByName("eth0") if err == nil { createOpts.Options["com.docker.network.driver.mtu"] = fmt.Sprintf("%v", netIface.Attrs().MTU) }