title: Is there any way how to load environemnt variable from remote docker machine and not the local?
body: <p>We have docker machine created via:</p>
  <p><code>docker-machine create --driver generic --generic-ip-address=....</code></p>
  <p>when restarting containers from this machine, we're doing that from our local development machines via:</p>
  <pre><code>SET DOCKER_TLS_VERIFY=1
  SET DOCKER_HOST=tcp://....
  SET DOCKER_CERT_PATH=...
  SET DOCKER_MACHINE_NAME=....
  SET COMPOSE_CONVERT_WINDOWS_PATHS=true
  </code></pre>
  <p>now, we have environment variables configured in docker-compose</p>
  <pre><code>   environment:
        - SRV_VARIABLE=${SRV_VARIABLE}
  </code></pre>
  <p>but when we restart the server from our local system, docker-compose use <code>SRV_VARIABLE</code> located on our local computers and environment variable from the docker machine.</p>
  <p>Is there any way, how to tell docker to use variable from the server and not from the local computer?</p>
  <p>Thanks</p>