Rancher agent and environment variables on "docker run"

I started up the rancher/server and the rancher/agent with some environment variables, but the rancher/agent didn’t propagate it to other conteiners that it starts in chain.

e.g: docker run -e no_proxy='localhost, .localnet, .hacklab, 192.168.33.10, 192.168.33.11, 192.168.33.12'

What can I do to fix it?

Well, no env vars from the agent are applied to the container except http proxy. It just so happens to be that we look for NO_PROXY and not no_proxy :disappointed:

We should really look for both cases.

Is this the behaviour for all “labels” (CATTLE_HOST_LABELS) when we add a host?