<p>I have a Kubernetes PersistentVolume that mounts a directory using HostPath and it is cumbersome to boot up a Pod and exec onto it to view or change the data in that volume. Is it possible to locate the data in this volume on my local file system instead?</p>

<p>Docker stores these volumes in <code>/Users/username/.docker/Volumes/your-pv-name/pvc-SOME-UUID</code>.</p>

<p>You can actually find the exact location by inspecting the PersistentVolume directly:</p>

<pre><code>$ kubectl get pv -o=jsonpath='{.spec.hostPath.path}' some-persistent-volume-claim
/Users/youruser/.docker/Volumes/your-pv-name/pvc-4eafca67-3e94-11e8-9f11-025000000001
</code></pre>
