title: Docker: writing a file to physical or shared path, using docker and netcore3.1
body: <p>what I'm trying to do is simply write files to a path </p>
  
  <pre><code>private string CreateIfMissing(string path)
      {
          path = Path.Combine(_options.baseBath, path);
  
          if (!Directory.Exists(path))
              Directory.CreateDirectory(path);
  
          return path;
      }
  </code></pre>
  
  <p>Suppose my storage base path is  <code>D:\STORAGE_ROOT</code></p>
  
  <p>it works fine until I run it using a docker container, it results to create the full path again inside my app folder.</p>
  
  <p><code>C:\App\MyRunningAppFolder\D*\STORAGE_ROOT\path_value</code>.</p>
  
  <p>Is there a way to enable or force the directory to point on the sent path, not the app path </p>