title: Orphaned Docker mounted host volumes?
body: <p>I just inspected my /var/lib/docker/volumes folder and discovered that is bursting with folders named as Docker UUIDs each of which contain a config.json file with contents along the lines of</p>
  
  <pre><code>{"ID":"UUID","Path":"/path/to/mounted/volume","IsBindMount":true,"Writable":true}
  </code></pre>
  
  <p>where</p>
  
  <pre><code>/path/to/mounted/volume
  </code></pre>
  
  <p>is the path to the folder on the host that was mounted on to a docker container with the -v switch at some point.  I have such folders dating back to the start of my experiments with Docker, i.e. about 3 weeks ago.</p>
  
  <p>The containers in question were stopped and docker rm'ed a long time ago so I cannot see that those entries are not past their sell-by date. This begs the question - is the left over I am seeing a bug or does one need to manually discard such entries from /var/lib/docker/volumes? </p>