Skip to content

Commit caa64b7

Browse files
kylos101Furisto
authored andcommitted
Sync interface name with docker-up and nsinsider
Context: gitpod-io/gitpod#16368 (comment)
1 parent 0d18110 commit caa64b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/compose/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ func (s *composeService) ensureNetwork(ctx context.Context, n types.NetworkConfi
11611161
createOpts.Options = make(map[string]string)
11621162
}
11631163

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

0 commit comments

Comments
 (0)