diff --git a/setup/so-functions b/setup/so-functions index d7252bb53..51f081b04 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -845,6 +845,7 @@ docker_registry() { printf '%s\n'\ "{"\ " \"registry-mirrors\": [ \"$proxy:5000\" ],"\ + " \"bip\": \"$(echo $DOCKERNET | awk -F'.' '{print $1,$2,$3,1}' OFS='.')/24,\"\ " \"default-address-pools\": ["\ " {"\ " \"base\" : \"$DOCKERNET\","\ @@ -1146,7 +1147,7 @@ manager_global() { fi if [ -z "$DOCKERNET" ]; then - DOCKERNET=172.17.0.0/16 + DOCKERNET=172.17.0.0 fi # Create a global file for global values