google / google/gousb

How to use in a Docker container without --privileged

Open
#119 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
932
Forks
136
PR merge metrics
No merged PRs in 30d

Description

Is there any example for this being used inside a docker container without privileged mode?
I have an app which uses this to speak to a USB device, but as soon as I run my application in a container it no longer finds the device unless I use the `--privileged` flag.
Is there a way I can maybe use the `--device` option?
I'm using this under linux on a raspberry pi

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.