Interview Prep/Docker/Resource Limits, Health & Reliability

What does `userland-proxy: false` change?

AdvancedProductionResource Limits, Health & Reliability
Answer

Docker stops spawning a docker-proxy process per published port and relies on iptables (hairpin NAT) instead, saving memory and avoiding proxy bugs with thousands of ports. Connections from the host to localhost:port still work through DNAT with route_localnet. It is recommended for hosts running many containers.

All Docker questions Roadmap: Docker & containers

More on Resource Limits, Health & Reliability