docs icon indicating copy to clipboard operation
docs copied to clipboard

Can I pass through a USB device to a container?

Open gibazza opened this issue 1 year ago • 0 comments

Is this a docs issue?

  • [X] My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

This information is now out-of-date.

Can I pass through a USB device to a container? It is not possible to pass through a USB device (or a serial port) to a container as it requires support at the hypervisor level.

Location

https://docs.docker.com/desktop/faqs/general/

Suggestion

It is now possible by following this guide from Microsoft build:

Connect USB devices

I have tested this by connecting and Arduino Uno and reading data from the attached USB COM port from within the docker container.

gibazza avatar May 16 '24 16:05 gibazza