title: Access SMB share through docker image or through docker host's connection to SMB share?
body: <p>I have a service or three that needs access to the same SMB share. The service(s) is running inside a Docker container. I think my choices are:</p>
  <ol>
  <li>Have the Docker container(s) where the service(s) is running mount the SMB share itself</li>
  <li>Have the host of the Docker container(s) mount the SMB share and then share it with the Docker container(s) where the service(s) is running</li>
  </ol>
  <p>Which is better from a best practices perspective (which should probably include security as a dimension)?</p>
  <p>Am I missing an option?</p>
  <p>Thanks!</p>