I want to mapping usb port on host to container. if directly runs container not by iotedge , I can do that by using this option "--device=/dev/ttyUSB0" . if runs container by iotedge , I don't know what I should fill to the createoption of container.
I'm not going to be able to complete the mapping if I try filled that like below picture:

I want to consult what I should fill to containers option to complete mapping。
Here is an example:
{
"HostConfig": {
"User": "root",
"Privileged": true,
"Devices": [
{
"PathOnHost": "/dev/ttyACM0",
"PathInContainer": "/dev/ttyACM0",
"CgroupPermissions": "mrw"
}
]
}
}
Most helpful comment
Here is an example: