title: I want to run a docker-compose.yml on a remote docker daemon, what about volumes?
body: <p>I want to run <code>docker-compose up</code> on a remote docker daemon:</p>
  
  <pre><code>DOCKER_HOST=tcp://...:2375 docker-compose up
  </code></pre>
  
  <p>In <code>docker-compose.yml</code>, I have a volume binding to a local file:</p>
  
  <pre><code>version: "3"
  services:
    nginx:
      image: nginx:latest
      ports:
        - 80:80
      volumes:
        - ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
  </code></pre>
  
  <p>This won't work, as the remote docker daemon will be unable to locate <code>./etc/nginx/nginx.conf</code>.</p>
  
  <p>What is the best approach to handle this?</p>