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 +360,7 @@ func (s *composeService) prepareContainerMACAddress(ctx context.Context, service
356
360
}
357
361
358
362
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)
363
+
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
364
}
361
365
362
366
ifmainNw!=nil&&mainNw.MacAddress!="" {
@@ -379,6 +383,8 @@ func getAliases(project *types.Project, service types.ServiceConfig, serviceInde
379
383
}
380
384
381
385
funccreateEndpointSettings(p*types.Project, service types.ServiceConfig, serviceIndexint, networkKeystring, links []string, useNetworkAliasesbool) *network.EndpointSettings {
386
+
constifname="com.docker.network.endpoint.ifname"
387
+
382
388
config:=service.Networks[networkKey]
383
389
varipam*network.EndpointIPAMConfig
384
390
var (
@@ -398,6 +404,15 @@ func createEndpointSettings(p *types.Project, service types.ServiceConfig, servi
0 commit comments