Hi,
My test setup runs behind a proxy, so I use a command like this to add a host to my rancher setup:
docker run -d --privileged -e "http_proxy=proxy.host:8888" -e "https_proxy=proxy.host:8888" -e "NO_PROXY=" -v /var/run/docker.sock:/var/run/docker.sock rancher/agent:v0.7.11 http://rancher.server.host:8000/v1/scripts/022e74084.....0e4147e82e16d
Which works fine, except that all containers on that host get a Host IP pointing at the ip of the proxy.host machine, rather than the agent machine. I need the proxy for the agent to be able to download content from the internet, but apart from that, I don’t want it to use the proxy…