Difference in accessing windows path in volume creation in windows Docker

一曲冷凌霜 提交于 2021-01-29 19:02:58

问题


I have two drives,

  1. 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 .
  2. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!