Relevant Azure Service or Technology: IoT Edge Module
Published Documentation: https://docs.microsoft.com/en-us/azure/iot-edge/module-edgeagent-edgehub
Feedback:
There is zero documentation or examples from Microsoft on how to properly configure the createOptions feature to send flags to docker. The current documentation links you directly to Docker's explanation of the "Create Container" properties, but the mapping between Microsoft's createOptions and Docker's properties are not entirely 1:1.
Please provide detailed documentation, along with proper examples, of the most used "docker run" parameters that createOptions supports, such as:
Thank you.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@Tam66662 Thank you for your feedback, our team will further look into it and get back to you at the earliest.
@Tam66662 I have assigned the issue to the content author to evaluate and update as appropriate.
@Tam66662 Thanks for creating this issue, and especially thank you for including createOptions scenarios that you want to use. We've heard similar feedback from other users, and have plans to work on this content. I'll update this issue when there's something published for you to take a look at.
Adding on that I would like to see examples for mapping devices...for example a USB camera.
@kgremban Thanks for the doc update. Just wanted to check if this issue can be closed.
@AshokPeddakotla-MSFT Thanks for the reminder.
@Tam66662 I added a new article providing some standard information about formatting createOptions, and samples from some common scenarios: https://docs.microsoft.com/en-us/azure/iot-edge/how-to-use-create-options. This is definitely a work in progress, as we'll be building out the content to reflect additional scenarios (including @ckcampbell248's request for accessing external hardware) but I wanted to check in with you to see if this new article answers your core request for information about configuring and formatting create options?
@kgremban Thank you for doing this. The link you provided was very helpful and informative and covers my core request. I appreciate the new documentation!