Hello,
I have an hard time figuring out how to get the real remote ip of a client connecting to a (web) service inside a container which port is exposed to a port on the host.
So far the solution seems to be either one of:
- use
--net=host
- disable the userland proxy
- configure nginx on the host to forward the real ip address?
Here are related issues:
#7540
nginx-proxy/nginx-proxy#130
nginx-proxy/nginx-proxy#133
None of the current solutions seems to be "right" and they all seem temporary. Can you clarify/explain how things should be, even if that means that the current docker 1.7.1 is bugged in that regard and that we have to use hack X or Y until things are fixed in 1.8.0.
Hello,
I have an hard time figuring out how to get the real remote ip of a client connecting to a (web) service inside a container which port is exposed to a port on the host.
So far the solution seems to be either one of:
--net=hostHere are related issues:
#7540
nginx-proxy/nginx-proxy#130
nginx-proxy/nginx-proxy#133
None of the current solutions seems to be "right" and they all seem temporary. Can you clarify/explain how things should be, even if that means that the current docker 1.7.1 is bugged in that regard and that we have to use hack X or Y until things are fixed in 1.8.0.