Mount path to Azure IoT Edge module

后端 未结 1 1458
天涯浪人
天涯浪人 2021-01-13 18:32

I followed the example from the documentation https://docs.microsoft.com/en-us/azure/iot-edge/how-to-develop-python-module and was playing around a bit.

I tried to m

相关标签:
1条回答
  • 2021-01-13 19:18

    Yes, it is indeed possible to use mounts. You can find an example of how to use them in the creation options in the SQL Server tutorial: https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-store-data-sql-server#add-a-sql-server-container

    "createOptions": "{\"HostConfig\": {\"Mounts\": [{\"Target\": \"/var/opt/mssql\",\"Source\": \"sqlVolume\",\"Type\": \"volume\"}],\"PortBindings\": {\"1433/tcp\": [{\"HostPort\": \"1401\"}]}}}"

    0 讨论(0)
提交回复
热议问题