Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[23.0 backport] daemon: set docker0 subpool as the IPAM pool #45403

Merged
merged 1 commit into from Apr 26, 2023

Commits on Apr 26, 2023

  1. 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 moby#45356.
    
    Signed-off-by: Albin Kerouanton <albinker@gmail.com>
    (cherry picked from commit 2d31697)
    Signed-off-by: Albin Kerouanton <albinker@gmail.com>
    akerouanton committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    227d3f3 View commit details
    Browse the repository at this point in the history