docker with shared folder d drive
<p>I'm trying to get docker to mount my d drive. 
Have been struggling with a lot of stack and git, and none of them seem to work for me. </p>

<p>I already added my d drive to the shared folder </p>

<p><a href="https://i.stack.imgur.com/tyS5h.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tyS5h.jpg" alt="enter image description here"></a> </p>

<p>then I mount in my docker-compose.yml </p>

<p><a href="https://i.stack.imgur.com/geNOs.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/geNOs.jpg" alt="enter image description here"></a></p>

<p>running docker-compose up works when the folder is in C drive, but not when in D drive. </p>

<p>I will get the error package.json not found, meaning that the D drive is not mounted. </p>

<p>I tried to inspect my container, and this is what I get </p>

<p><a href="https://i.stack.imgur.com/B3ul1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B3ul1.jpg" alt="enter image description here"></a></p>

<p>can see that source is the right path, but it doesn't work. </p>

<p>Is it something wrong with my setting, or that docker doesn't support this yet? 
Any workaround? like move everything to D drive? </p>

<p>I did tried with setting the MACHINE_STORAGE_PATH in environment, turn out didn't work and screw up everything. Must be I did something wrong. </p>

<p>Please help. My new laptop only have 128GB in C drive, is not possible have everything in the C drive. </p>

<p>Thanks in advance. </p>