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.
More on Resource Limits, Health & Reliability
How do you set memory and CPU limits, and what happens when they are exceeded?BeginnerWhat is the difference between `--cpus`, `--cpu-shares` and `--cpuset-cpus`?BeginnerWhat does `--memory-reservation` do?AdvancedHow do you diagnose an OOM-killed container?IntermediateWhy do JVM and Node services in containers need explicit memory flags?IntermediateWhat is CPU throttling, and how do you detect it?Advanced