Skip to content

Commit

Permalink
Sync interface name with docker-up and nsinsider
Browse files Browse the repository at this point in the history
  • Loading branch information
kylos101 authored and aledbf committed Feb 21, 2023
1 parent cfe8151 commit e905aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/compose/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit e905aab

Please sign in to comment.