Files
moby/daemon
Albin Kerouanton d18b88fd32 daemon: add ULA prefix by default
So far, Moby only had IPv4 prefixes in its 'default-address-pools'. To
get dynamic IPv6 subnet allocations, users had to redefine this
parameter to include IPv6 base network(s). This is needlessly complex
and against Moby's 'batteries-included' principle.

This change generates a ULA base network by deriving a ULA Global ID
from the Engine's Host ID and put that base network into
'default-address-pools'. This Host ID is stable over time (except if
users remove their '/var/lib/docker/engine-id') and thus the GID is
stable too.

This ULA base network won't be put into 'default-address-pools' if users
have manually configured it.

This is loosely based on https://datatracker.ietf.org/doc/html/rfc4193#section-3.2.2.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
2024-05-29 22:38:27 +02:00
..
2022-12-21 11:09:01 +01:00
2018-02-05 16:51:57 -05:00
2023-09-27 14:10:23 +08:00
2017-09-06 12:05:19 -04:00
2022-07-29 23:05:18 +02:00
2023-03-30 10:29:07 +01:00
2021-06-01 21:51:23 +00:00
2018-02-05 16:51:57 -05:00
2024-01-19 17:32:21 +01:00
2024-05-29 22:38:27 +02:00
2022-04-21 17:33:07 -04:00
2023-11-10 20:09:25 +00:00
2023-10-26 00:10:23 +01:00
2023-09-07 18:38:19 +00:00
2023-05-19 20:38:51 +02:00
2023-05-19 20:38:51 +02:00
2024-03-07 10:57:03 +01:00
2018-02-05 16:51:57 -05:00
2023-05-19 20:38:51 +02:00
2018-02-05 16:51:57 -05:00
2023-05-19 20:38:51 +02:00
2018-02-05 16:51:57 -05:00
2023-09-27 14:10:23 +08:00
2023-09-27 14:10:23 +08:00
2024-01-19 17:32:21 +01:00
2018-04-23 13:52:44 -07:00