Docker for Windows: State of USB and COM Device support

Hello everyone,

I can’t seem to find current evidence of Docker for Windows supporting USB Devices or COM Devices in containers. There are some sources that mention devices are not supported in different scenarios, however, The documentation mentions the --device flag.

Does anyone have a quick overview for me about the current state:

USB/COM Support for using devices in a

  • linux host/linux container environment
  • Windows host(Docker for Windows)/Windows container environment
  • Windows host (Docker for Windows)/Linux container environment
  • Windows host (Docker Machine/Docker VM) /Windows container environment
  • Windows host (Docker Machine/Docker VM) /Linux container environment

If it is possible to use USB/COM devices on a windows host, how would the devices be enumerated with the --device flag?

Many thanks!

1 Like

Good luck with this, no-one has any answers about USB at all

1 Like