问题
I have two drives,
- the local drive (C:)
When a volume is mounted using this path it works perfectly fine.
ex:
docker run --rm -it -v "C:/data":/aug aif .
- I have an external NAS drive, I map it, and name it as (Z:)
I use the command
ex:
docker run --rm -it -v "Z:/data":/aug aif .
Which gives an error that the files are not present in the /aug directory within the container.
I am loading data into my software to train deep learning models. So, in case of 1. , the system works fine and the data is available at /aug, but that isnt the case incase of 2.
I have tried running things in admin mode as well as tried this solution https://stackoverflow.com/a/57510166/9338741 , but to no avail.
Any lead towards a substantial solution would be highly helpful!
Thanks!
来源:https://stackoverflow.com/questions/63487802/difference-in-accessing-windows-path-in-volume-creation-in-windows-docker