Docker Community Forums

Share and learn in the Docker community.

Access Files of windows drive to docker container

docker

(Kshitij93) #1

Hi,

I have installed docker in windows 10 operating system. I am running a ASP.NET web API in docker container which reads file from disk. Now the requirement is to read files from windows 10 and perform the same operation on it. Whenever i am trying
docker run -v C:\ProgramData\Docker:\src siemens.simatic.lang.standalone, i am getting error as " Error response from daemon: invalid volume specification: ‘C:\ProgramData\Docker:\src’."

Is there any way to resolve it or any other approach.
Many Thanks!