Docker Community Forums

Share and learn in the Docker community.

Error response from daemon: Mount denied:

I can not mount volumes to docker containers. Please help!

This is what i get–
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: Mount denied:
The source path “\C:\data\tutorial”
is not a valid Windows path.
See ‘C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help’.

I am not a programmer and learning to use docker!!

I could suggest path like
“\C\data\tutorial”
or
“\mnt\C\data\tutorial”

You dont need write colon ( : ) in Windows