moby/integration/daemon
Albin Kerouanton 227d3f39a3
daemon: set docker0 subpool as the IPAM pool
Since cc19eba (backported to v23.0.4), the PreferredPool for docker0 is
set only when the user provides the bip config parameter or when the
default bridge already exist. That means, if a user provides the
fixed-cidr parameter on a fresh install or reboot their computer/server
without bip set, dockerd throw the following error when it starts:

> failed to start daemon: Error initializing network controller: Error
> creating default "bridge" network: failed to parse pool request for
> address space "LocalDefault" pool "" subpool "100.64.0.0/26": Invalid
> Address SubPool

See #45356.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
(cherry picked from commit 2d31697)
Signed-off-by: Albin Kerouanton <albinker@gmail.com>
2023-04-26 11:38:55 +02:00
..
testdata Add configuration validation option and tests. 2021-06-23 09:54:55 +00:00
daemon_test.go daemon: set docker0 subpool as the IPAM pool 2023-04-26 11:38:55 +02:00
main_test.go Fix live-restore w/ restart policies + volume refs 2022-10-03 17:36:16 +00:00