Docker Community Forums

Share and learn in the Docker community.

Docker for Windows: State of USB and COM Device support


(Ageraluon) #1

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!


(Ericthealfabee) #2

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