title: Docker for windows: can't delete directory after it's been mounted to a container
body: <p>I can't delete a directory after it's been mounted to a container.</p>
  
  <p>I'm using image <code>node:lts-alpine</code></p>
  
  <p>When I run my container using </p>
  
  <pre><code>docker run --rm -v &lt;&lt;path_to_my_directory&gt;&gt;:/var/task:ro,delegated node:lts-alpine node &lt;&lt;path_to_my_node_script.js&gt;&gt;
  </code></pre>
  
  <p>(and it successfully finishes), the directory remains in a strange state, where I can't delete it.</p>
  
  <p>I'm getting <code>Error: EPERM: operation not permitted, lstat</code></p>
  
  <p>I tried everything, deleting from the command line and from the windows file explorer.</p>
  
  <p><code>docker ps</code> doesn't show any running containers.</p>
  
  <p>Am I doing something wrong? Should I somehow unmount it, or change permissions?</p>
  
  <hr>
  
  <p>Windows: Windows 10 Education N, Version 1803</p>
  
  <p>Docker desktop: 2.3.0.2 (45183)</p>