Docker image for getting started with Drozer. All the work of making ADB available using Docker was taken from docker-adb repository.
Follow the instructions
docker run --privileged -v /dev/bus/usb:/dev/bus/usb abstractj/drozer adb devices
The agent and the testing application are already available under /home/drozer. To install the APK file on an Android phone run:
docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb abstractj/drozer bash
adb install drozer-agent-2.3.4.apk
adb install sieve.apk
Now you just have to enable the agent:

Note: Please make sure that your phone is connected on USB.
$ docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb abstractj/drozer bash ⏎
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Now type drozer:
drozer@8e81701f686d:~$ drozer
Selecting 23d371d51760c530 (samsung GT-I9100 4.0.3)
.. ..:.
..o.. .r..
..a.. . ....... . ..nd
ro..idsnemesisand..pr
.otectorandroidsneme.
.,sisandprotectorandroids+.
..nemesisandprotectorandroidsn:.
.emesisandprotectorandroidsnemes..
..isandp,..,rotectorandro,..,idsnem.
.isisandp..rotectorandroid..snemisis.
,andprotectorandroidsnemisisandprotec.
.torandroidsnemesisandprotectorandroid.
.snemisisandprotectorandroidsnemesisan:
.dprotectorandroidsnemesisandprotector.
drozer Console (v2.3.4)
dz>
You must be able to see the Drozer console.
Patches are welcome, just send a pull request and I will be happy on merging it.
Content type
Image
Digest
sha256:01dd75211…
Size
532.5 MB
Last updated
about 10 years ago
docker pull abstractj/drozer