Setting Host specific environment variables for a container

I am using rancher 1.6 and I need to have the host provide certain environment variables to any containers running on it.

How is this done? Documentation seems a bit sparse in this area.