From c1e4e75c76cfca05158cb0198572d214fc583be0 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 c557d4e1e49..deb0d121f3e 100644 --- a/pkg/compose/create.go +++ b/pkg/compose/create.go @@ -1167,7 +1167,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) }