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)

  • Docker container doesn't work properly on Azure WebApps for Linux, however it works on locally.
  • CentOS 7 Docker Image and locale compilation
  • Use a certain FROM layer in Dockerfile
  • LDAP-Server with official docker support
  • Exposing/Publishing ports from docker
  • Why can mysql CLI connect, but not WordPress?
  • 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)

  • docker-compose build throwing error ERROR: Untar re-exec error: signal: killed: output:
  • How do I register logging driver for docker?
  • Controlling the Data of a Database Docker Container
  • Enable Docker remote API in Mac (Using Docker Quickstart Terminal)
  • Docker compose 'scale' command is not scaling across multiple machines
  • Docker - browsing to docker container using its IP
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.