Using Docker Remote API to automate proxy configuration