devicefarmer / docker-adb Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sorccu/docker-adb
Dockerfile and instructions for ADB.
License: Other
This project forked from sorccu/docker-adb
Dockerfile and instructions for ADB.
License: Other
There appears to be an issue with the glibc compatibility package such that the musl libraries are being linked when running the binaries under platform-tools. For example, when trying to start the adb server using the first command from README.md (and dropping the -d
), I get the following:
[stf]$ docker run --privileged -v /dev/bus/usb:/dev/bus/usb --name adbd devicefarmer/adb
Error relocating /lib/ld-linux-x86-64.so.2: unsupported relocation type 37
Error relocating /opt/platform-tools/adb: __memcpy_chk: symbol not found
Error relocating /opt/platform-tools/adb: __memset_chk: symbol not found
Error relocating /opt/platform-tools/adb: __vfprintf_chk: symbol not found
Error relocating /opt/platform-tools/adb: __syslog_chk: symbol not found
Error relocating /opt/platform-tools/adb: __fdelt_chk: symbol not found
Error relocating /opt/platform-tools/adb: __snprintf_chk: symbol not found
Error relocating /opt/platform-tools/adb: __vsnprintf_chk: symbol not found
Error relocating /opt/platform-tools/adb: __isnan: symbol not found
Error relocating /opt/platform-tools/adb: __isnanf: symbol not found
Error relocating /opt/platform-tools/adb: __fprintf_chk: symbol not found
Error relocating /opt/platform-tools/adb: __sprintf_chk: symbol not found
Error relocating /opt/platform-tools/adb: __strdup: symbol not found
Error relocating /opt/platform-tools/adb: __asprintf_chk: symbol not found
Error relocating /opt/platform-tools/adb: __memmove_chk: symbol not found
Error relocating /opt/platform-tools/adb: __vasprintf_chk: symbol not found
Error relocating /opt/platform-tools/adb: strtoll_l: symbol not found
Error relocating /opt/platform-tools/adb: strtoull_l: symbol not found
I can avoid this by manually specifying the GNU libc linker like so:
[stf]$ docker run --privileged -v /dev/bus/usb --name adbd devicefarmer/adb /usr/glibc-compat/bin/ld.so /opt/platform-tools/adb -a -P 5037 server nodaemon
adb I 11-29 14:22:39 7 7 auth.cpp:417] adb_auth_init...
adb I 11-29 14:22:39 7 7 auth.cpp:152] loaded new key from '/root/.android/adbkey' with fingerprint 9BB6C5623F63CB10053006DE7335A39BE64999A41891CDE4A8B03F39BD3F9135
adb I 11-29 14:22:39 7 7 auth.cpp:392] adb_auth_inotify_init...
I'm not sure if this is an issue with docker-adb
or perhaps the Alpine package provided by sgerrand, but in any case, the issue is causing the latest image available on Dockerhub to not work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.