Hi, maybe really trivial question, but I am not able to solve it….sorry.
I want to use my windows 10 pc as an "Azure IoT Edge Device" and make use of "Azure IoT Edge Modules" on this to send data from a Node Red Module to Azure IoT Hub to store it there in an Azure Database.
Setup/Installation:
I followed this tutorial (https://learn.microsoft.com/de-de/azure/iot-edge/quickstart?view=iotedge-2018-06). The result is, that I install over Windows Admin Center a Linux VM (include Azure IoT Edge Runtime), which then runs the Azure IoT Edge Modules as Container.
Windows 10 -> Linux VM (IoT Edge Runtime) -> Azure IoT Edge Module (Container).
Question/Use Case:
I use as an Azure IoT Module the Node Red Module (https://github.com/iotblackbelt/noderededgemodule). This works fine and I can access it via <Linux VM IP>:1880.
What can I do to access my .CSV files which are located on my Windows 10 OS in folder C:\Users\u500570\Desktop\Test_IoT? I cannot Bind this Folder to the IoT Edge Module Container, because the Linux VM is the Host of the IoT Azure Edge Module(?).
A Bind like this is not working under "create options" in the deployment manifest:
{
"HostConfig":{
"Privileged":true,
"Binds":[
"/C/Users/u500570/Desktop/Test_IoT:/data"
],
"PortBindings":{
"1880/tcp":[
{
"HostPort":"1880"
}
]
}
}
}
A Volume mounting like described here (https://stackoverflow.com/questions/52572289/mount-path-to-azure-iot-edge-module) leads to 500 Error and the module is not even starting.
I tried https://learn.microsoft.com/de-de/azure/iot-edge/how-to-access-host-storage-from-module?view=iotedge-2020-11 but I cannot get it runnig.
Is it maybe this: https://learn.microsoft.com/en-us/azure/iot-edge/how-to-access-host-storage-from-module?view=iotedge-2018-06
If so, it would be great if I can get a little example :)
Any help is really much appreciated.