compose/pkg
Albin Kerouanton 785835b1a2 Add support for endpoint-specific MAC address
Related to:

- https://github.com/compose-spec/compose-spec/pull/435
- https://github.com/moby/moby/pull/45905

Since API v1.44, Moby supports a per-endpoint MAC address and returns a
warning when the container-wide mac_address field is set.

A corresponding field has been added to compose-spec and compose-go, so
we need to leverage it to set the right API field.

This commit is backward-compatible with compose files that still set the
container-wide mac_address field, and older API versions that don't know
about the endpoint-specific MAC address field.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
2023-12-18 12:04:45 +01:00
..
api avoid use of service.Name when iterating on project.Services 2023-12-05 18:54:31 +01:00
compose Add support for endpoint-specific MAC address 2023-12-18 12:04:45 +01:00
e2e avoid use of service.Name when iterating on project.Services 2023-12-05 18:54:31 +01:00
mocks github.com/golang/mock is deprecated 2023-12-13 14:47:39 +01:00
progress progress: minor correctness fixes (#10871) 2023-08-03 15:14:17 -04:00
prompt github.com/golang/mock is deprecated 2023-12-13 14:47:39 +01:00
remote adopt compose-go/v2 2023-12-05 18:54:31 +01:00
utils logs: fix for missing output on container exit (#10925) 2023-08-23 08:57:18 -04:00
watch deps: remove deprecated github.com/pkg/errors 2023-09-29 06:28:58 +02:00