This might be too general question, unfortunately I was not able to find the right answer. I would like to dockerize my aspn.net mvc application. I have method that scans local folder for files
C:\input_data
The path is passed to a method and everything works great.
When you create an image and container you will have to map this directory as volume
docker run -v c:/input_data:/data
I understand that inside the container you can use only /data
. How /data
will be passed to the method as a valid folder path? In addition the path is stored in settings table, so C:\input_data
will be passed to a method all the time and this method would expect C:\input_data
as a valid path.
How is this resolved? Do I have to provide instructions to docker how to resolve this mapping between /data
and C:\input_data
?
Thanks