-
Notifications
You must be signed in to change notification settings - Fork 112
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
usb privileged version #11
Conversation
Hey, I'll be developing a little bit here - it seems not running fine any more with screen. |
Did you know that it's possible to run adb over the network?
Works fine for me without any modifications to the Docker image. However, we could still let users run Docker in privileged mode and forward the USB device. Ok with me, however this should be configurable right from the start. Can you update the PR please? |
Besides this: The tests in front of |
Hey, yes I know you can run adb over network, but that means you need to have adb somehow installed on the host - the beauty of your docker image is that you needn't do that. Anyway I added a -p / --privileged switch for this. I must check what makes screen not working, so this is not merge-able yet. |
How about calling the flag Regarding the screen check: How about you're just keeping the line like it was before? No matter what, it's not related to this change, so it should be move into a different PR anyway. And then, this one could be merged right away... |
How about this? :) |
Thank you! |
Ur welcome. :) I have a branch that fixes docker #8755, but I don't think this should be merged to master - docker or ubuntu would fix that sooner or later. For now if anybody needs it, just cherry-pick my commit 5b769a7c. |
Hey,
Perhaps you would be interested in a version that allows usb debugging and connecting an actual device to the docker container.
There's a security drawback - the container must run in privileged mode, which mean it has actual root access and it can't be that trusted. That's why I'm proposing this PR separately to another one I'm pushing simultaneously. If you have an idea on some kind of a switch I could add it later.
Best,
Mike