Nginx version requires greater than 1.9,
add the following nginx.conf, requirements and similar http {}
stream { upstream cakehouse { server 172.17.210.101:10001 weight=5 max_fails=2 fail_timeout=30s ; } server { listen 8888; proxy_connect_timeout 10s; proxy_timeout 5s; proxy_pass cakehouse; } }