I want to share host file system with docker container. basically i want access of one of the directory on windows in which i will be copying files which is downloaded from other storage. i was trying to modify .yml file to share one of the directory from windows using volumes, this directory is inC drive Name Test folder.
version: ‘3’
services:
documentfromblob:
image: documentfromblob
build:
context: .
dockerfile: DocumentFromBlob/Dockerfile
volumes:
- /C/Test
i am able to copy the file to local container file system but when try to write on C drive test folder it throws exception i am using C# code with .net core 2.0 work space created in Visual studio 2017. Am i missing something? Please reply.