I'm trying to access ADB from Docker images running on a Ubuntu host machine, but it doesn't work. Is it possible to access an ADB device through Docker?
Asked
Active
Viewed 728 times
0
-
https://stackoverflow.com/a/42375902/1778421 – Alex P. Jun 03 '18 at 02:50
-
1run `adb server` on the host and `adb clients` inside containers – Alex P. Jun 03 '18 at 02:51
-
https://stackoverflow.com/a/27256599/1778421 – Alex P. Jun 03 '18 at 02:51
1 Answers
0
You need a proper network setup. Running Docker with --network host
is the easiest, but the least safe way.

Peter Mortensen
- 30,738
- 21
- 105
- 131

lojza
- 1,823
- 2
- 13
- 23