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)

  • Connection refused when try to connect http server in docker daemon container
  • Kubelet image GC for docker “Data Space Total” instead of disk space
  • How to remove old and unused Docker images
  • What alternatives are there to using npm install --unsafe?
  • Customer params in kubectl when run docker
  • Docker Volumes not mounted after host reboot
  • 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 build inside kubernetes pod fails with “could not find bridge docker0”
  • having issues while connecting tomcat to mysql in a docker container?
  • EC2 AMI to docker image
  • What is the container docker is trying to start?
  • Bad Substitution Error Installing NVM within Debian-based Docker image
  • docker cp a folder with a relative symlink: invalid symlink
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.