You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -356,7 +359,7 @@ func (s *composeService) prepareContainerMACAddress(ctx context.Context, service
356
359
}
357
360
358
361
iflen(withMacAddress) >1 {
359
-
return"", fmt.Errorf("a MAC address is specified for multiple networks (%s), but this feature requires Docker Engine 1.44 or later (currently: %s)", strings.Join(withMacAddress, ", "), version)
362
+
return"", fmt.Errorf("a MAC address is specified for multiple networks (%s), but this feature requires Docker Engine v25 or later", strings.Join(withMacAddress, ", "))
360
363
}
361
364
362
365
ifmainNw!=nil&&mainNw.MacAddress!="" {
@@ -379,6 +382,8 @@ func getAliases(project *types.Project, service types.ServiceConfig, serviceInde
379
382
}
380
383
381
384
funccreateEndpointSettings(p*types.Project, service types.ServiceConfig, serviceIndexint, networkKeystring, links []string, useNetworkAliasesbool) *network.EndpointSettings {
385
+
constifname="com.docker.network.endpoint.ifname"
386
+
382
387
config:=service.Networks[networkKey]
383
388
varipam*network.EndpointIPAMConfig
384
389
var (
@@ -398,6 +403,15 @@ func createEndpointSettings(p *types.Project, service types.ServiceConfig, servi
0 commit comments