[23.0 backport] daemon: set docker0 subpool as the IPAM pool#45403
Merged
[23.0 backport] daemon: set docker0 subpool as the IPAM pool#45403
Conversation
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 moby#45356. Signed-off-by: Albin Kerouanton <[email protected]> (cherry picked from commit 2d31697) Signed-off-by: Albin Kerouanton <[email protected]>
vvoland
approved these changes
Apr 26, 2023
Member
|
Failures on Windows (both with containerd enabled and not); |
Member
|
^^ above issue was due to an issue with Docker Hub, and was resolved |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport:
Note that the original commit incriminated by the message of the cherry-picked commit is not present in branch
23.0. However it's been cherry-picked too, by the following PR (commit 063d3a6):- Description for the changelog
Fix a regression introduced in v23.0.4 where dockerd would refuse to start if the
fixed-cidrconfig parameter is provided but notbip.- A picture of a cute animal (not mandatory but encouraged)