moby/daemon/network
Rob Murray cd53b7380c Remove generated MAC addresses on restart.
The MAC address of a running container was stored in the same place as
the configured address for a container.

When starting a stopped container, a generated address was treated as a
configured address. If that generated address (based on an IPAM-assigned
IP address) had been reused, the containers ended up with duplicate MAC
addresses.

So, remember whether the MAC address was explicitly configured, and
clear it if not.

Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-01-22 17:52:20 +00:00
..
filter.go Network: add support for 'dangling' filter 2019-02-27 15:08:44 -05:00
filter_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
settings.go Remove generated MAC addresses on restart. 2024-01-22 17:52:20 +00:00