moby/integration
Albin Kerouanton df983b7990
daemon: fix under what conditions container's mac-address is applied
The daemon would pass an EndpointCreateOption to set the interface MAC
address if the network name and the provided network mode were matching.
Obviously, if the network mode is a network ID, it won't work. To make
things worse, the network mode is never normalized if it's a partial ID.

To fix that: 1. the condition under what the container's mac-address is
applied is updated to also match the full ID; 2. the network mode is
normalized to a full ID when it's only a partial one.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
(cherry picked from commit 6cc6682f5f)
Signed-off-by: Albin Kerouanton <albinker@gmail.com>
2023-09-14 11:48:16 +02:00
..
build integration: Don't env cleanup before parallel subtests 2023-07-13 15:06:36 +02:00
capabilities Integration test for capabilities 2023-08-13 22:28:00 +02:00
config integration: use string-literals for easier grep'ing 2023-07-15 00:50:57 +02:00
container daemon: fix under what conditions container's mac-address is applied 2023-09-14 11:48:16 +02:00
daemon integration/liveRestore: Check volume content 2023-08-29 19:58:57 +02:00
distribution bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
image c8d/resolveImage: Fix Digested and Named reference 2023-07-18 18:02:36 +02:00
internal daemon: fix under what conditions container's mac-address is applied 2023-09-14 11:48:16 +02:00
network integration: Don't env cleanup before parallel subtests 2023-07-13 15:06:36 +02:00
plugin integration: Don't env cleanup before parallel subtests 2023-07-13 15:06:36 +02:00
secret integration: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
service integration: inline filters in tests 2023-04-25 15:15:50 +02:00
session bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
system integration: inline filters in tests 2023-04-25 15:15:50 +02:00
testdata/https Update test certificates 2021-05-18 09:43:21 +02:00
volume integration: Don't env cleanup before parallel subtests 2023-07-13 15:06:36 +02:00
doc.go Add canonical import comment 2018-02-05 16:51:57 -05:00