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

Container runs in privileged mode #4

Open
akbennett opened this issue Jul 29, 2016 · 1 comment
Open

Container runs in privileged mode #4

akbennett opened this issue Jul 29, 2016 · 1 comment

Comments

@akbennett
Copy link
Owner

No description provided.

@fboudra
Copy link
Contributor

fboudra commented Aug 4, 2016

As long as you need to access to host devices (e.g. USB), you need to run in privileged mode or use a fine-grained configuration:
https://docs.docker.com/engine/reference/run/#/runtime-privilege-and-linux-capabilities

This bug looks to me either a wontfix or provide a better documentation on how to fine-grain configure docker for LAVA use cases.

IMO, a better approach would be to deny direct access to devices and recommend to use "bridge" tools like ser2net or adb over tcp, which rely on networking and would be easier to configure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants