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.
I already added my d drive to the shared folder
then I mount in my docker-compose.yml
running docker-compose up works when the folder is in C drive, but not when in D drive.
I will get the error package.json not found, meaning that the D drive is not mounted.
I tried to inspect my container, and this is what I get
can see that source is the right path, but it doesn't work.
Is it something wrong with my setting, or that docker doesn't support this yet?
Any workaround? like move everything to D drive?
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.
Please help. My new laptop only have 128GB in C drive, is not possible have everything in the C drive.
Thanks in advance.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…