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
For example:

in my host computer, I do
export ENV_VARIABLE_TO_DOCKER_XYZ=”1000.2000″ (changes with run-time)

  • Interpolate variables in environment variables definition with docker-compose.yml
  • How to configure an Hbase cluster in fully distributed mode using Docker
  • How to mount Hadoop HDFS
  • Docker-machine resource limit
  • How to set docker back to default configuration
  • Running nodeJS app, selenium and webdriver.io tests in docker container
  • 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)
    Thanks

  • Docker linking works on one host but not another
  • Add supervisor in php:7-fpm image
  • Html links to other pages, images and Css not working in Docker container?
  • What is the need for Docker Daemon?
  • What is a simple workflow to use docker in Windows with a basic file sharing possibility?
  • Docker daemon and DNS
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.