title: Share docker volumes from multiple hosts?
body: <p><a href="https://nickjanetakis.com/blog/docker-tip-28-named-volumes-vs-path-based-volumes" rel="nofollow noreferrer">https://nickjanetakis.com/blog/docker-tip-28-named-volumes-vs-path-based-volumes</a></p>
  
  <p>seems to suggest that both <code>named volumes</code> and <code>path based volumes</code> are stored in the docker host (where containers are run)</p>
  
  <p>Suppose I have <code>web</code> and <code>nginx</code> service.  </p>
  
  <p>I thought I could run <code>web</code> service in one host and <code>nginx</code> in another host (two different machines) . 
  (Although I'm just beginning to learn basics of docker, and it'll be a long time before I could separate services to different hosts)</p>
  
  <p>Is there a way for <code>nginx</code> container to serve static files that <code>web</code> service has by sharing volumes between the two?</p>