-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Open
Labels
area/networkingNetworkingNetworking
Description
The userland proxy was made optional in #12165 (ported to libnetwork in moby/libnetwork#171),
but still enabled by default because (if I remember correctly) disabling it caused issues on RHEL6 (cf #10676).
Now that we will stop supporting RHEL6 with the coming 1.8 release, I think we can change the default to "disabled". We can still keep the --userland-proxy option around so that users are able to enable it by setting --userland-proxy=true. We can remove the proxy altogether in a future release.
Changing the default might help resolving #11185 (possibly others)
Some issues related to disabling the userland-proxy that we should look into;
- userland-proxy doesn't allow host ip communications #21860
- overlay networking with userland-proxy disabled prevents port exposure #22741
- With --userland-proxy=false, dockerd listens on exposed ports (instead of docker-proxy) #28589
- When using userland-proxy=false many iptables entries instead of multiport #36214
- Cannot disable userland-proxy and go with hairpin #37163
- Cannot communicate with host through gateway IP when userland-proxy: false #40518
- container not able receive UDP traffic when disabled userland-proxy libnetwork#2423
- Broken network connectivity between two containers of different networks over published port on external ip #38784
-
userland-proxy: falsedoes not clean-up NAT rule when switching touserland-proxy: true#44721
lanrat, sanmai-NL, deployable, jonaz, kharin and 26 more
Metadata
Metadata
Assignees
Labels
area/networkingNetworkingNetworking