[19.03 backport] Set the bip network value as the subnet#40565
[19.03 backport] Set the bip network value as the subnet#40565AkihiroSuda merged 1 commit intomoby:19.03from
Conversation
Dont assign the --bip value directly to the subnet for the default bridge. Instead use the network value from the ParseCIDR output Addresses: moby#40392 Signed-off-by: Arko Dasgupta <arko.dasgupta@docker.com> (cherry picked from commit f800d5f) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
@AkihiroSuda ptal |
|
@AkihiroSuda @arkodg ptal |
|
We are having some problems with k8s after upgrading docker-ce to a version that includes this change. If I'm reading this correctly, all of our hosts running docker require the --bip config to be changed from the bridge IP to the bridge network, e.g. Is this right? |
|
edit : @tulanian you want to continue using |
|
@arkodg , ok, to confirm, no change is needed to the bip config because of this commit? Btw, the problem we're having with k8s is with pods that run docker-in-docker to build images. We're having to add the --network=host config to the pod-based dockerd or traffic won't exit the pod. |
|
that's right @tulanian no change is needed regarding k8s traffic, you are bypassing CNI by making |
|
@arkodg It was working without --network=host and were trying to determine what broke it. An upgrade to docker-ce is one possibility. Thanks for the clarification on the bip config. |
backport of #40497
fixes #40392
Dont assign the --bip value directly to the subnet
for the default bridge. Instead use the network value
from the ParseCIDR output
- Description for the changelog