I am using Docker Desktop Community V126.96.36.199 (43472), Channel stable. It is running on my Windows 10 V1903 Build 18362.720 host.
I am running a Mono Image, that is running my .NET application. The .NET application is writing files to a configured directory.
I want that the configured directory is mapped to my Windows 10 host.
This means, if the .NET application is creating a file, this file should created on my Windows 10 host.
Well, I am using Docker-Compose. In my Docker-Compose file I have the following volume defined:
The .NET Application is using the “/usr/data” path to write the files.
The “./dockerDocumentPath” is a folder in my Windows 10 host. It is a subfolder from the folder, that contains the Docker-Compose file.
The application seems to work correctly. I can add files and open the added files.
The “dockerDocumentPath” directory is empty.
Where do I find my files?
In the Docker-Settings I activated “file sharing” for all my drives.