Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I pass through a USB device to a container? #20055

Open
1 task done
gibazza opened this issue May 16, 2024 · 0 comments
Open
1 task done

Can I pass through a USB device to a container? #20055

gibazza opened this issue May 16, 2024 · 0 comments
Labels
area/desktop Issue affects a desktop edition of Docker. E.g docker for mac

Comments

@gibazza
Copy link

gibazza commented May 16, 2024

Is this a docs issue?

  • 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 gibazza added the status/triage Needs triage label May 16, 2024
@aevesdocker aevesdocker added area/desktop Issue affects a desktop edition of Docker. E.g docker for mac and removed status/triage Needs triage labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/desktop Issue affects a desktop edition of Docker. E.g docker for mac
Projects
None yet
Development

No branches or pull requests

2 participants