Docker read Host Env Variable
I am trying to create a 1-way or 2-way (inter-process communications) between the container / docker that runs through Marathon and the host computer
in my host computer, I do
export ENV_VARIABLE_TO_DOCKER_XYZ=”1000.2000″ (changes with run-time)
when I run a docker, can I ever poll to read that system variable during docker runtime?
Case no, I am happy for any other alternative (ioctl, shared memory, signal, etc)
Except mounting a disk / mem area (this is clearly the easiest way through -v /xyz:docker_xyz)