Docker desktop for Windows

I have a Windows 10 Pro desktop computer that I am running Docker desktop for Windows on. I have a number of containers on this and all is working real good. I have now tried to also install zigbee2MQTT docker container in this Docker intallstallation but I cant work out how to correctly set the --device flag to let the docker container find my zigbee2MQTT USB sniffer.

Is there any easy (enough) way to get this to work, or would it make more sense for me to install on Windows directly? I do like the container way, but it seem dificult to make this work.

Regards! Henrik

I don’t believe you will be able to access devices (serial or USB) from docker (or a VM) in this way as it is not supported by Hyper-V:
https://social.technet.microsoft.com/Forums/en-US/158824bb-a41b-4f0e-a6f9-b5e9e5499fc2/usb-pass-through-com-port-via-named-pipes?forum=winserverhyperv
There are some commercial products that might help, but they are not cheap… for example https://www.flexihub.com/