Dockerizing appium tests


Please reply its is very important for me


[email protected]:~$ docker run --rm -ti --net container:adbd sorccu/adb adb devices
List of devices attached
ZY2232TB7B device

I have connected two devices. but it is showing only one


@banthia can you please clarify below

  1. “…The only way to reduce run time is by parallelisation…” , does this mean each container run tests on individual emulator or physical device ?

  2. If I’ve 10 android devices , how do I allocate each to individual container ?

  3. I’m using Docker technology to run web automation in parallel with help of selenium grid. One container works as Hub and others are node.

  4. Does this project also uses similar technique ?

Thanks in advance.



I have a docker container on azure cloud with appium, and My Device is not displayed.
Steps to reproduce:

  1. Run docker with " docker run -d --privileged -v /dev/bus/usb:/dev/bus/usb -p 4723:4723 -it appium/appium-docker-android bash "
  2. Then i input, " docker exec “docker container number” adb devices "
  3. I then get List of devices attached
  • daemon not running. starting it now on port 5037 *
  • daemon started successfully *
  1. Then i input, " docker exec “docker container number” adb devices "
  2. I get List of devices attached but its BLANK.

What do i need to do in order for my devices to be displayed when i run " docker exec “docker container number” adb devices "??? I’ve also tried adb connect and the request times out
Please Help @banthia


Hi @banthia

I am using windows 7.I have automated simple app with appium.Can i implement the same using docker? i have installed docker using docker tool box.

Can you help me to proceed further?


Could Docker run Appium tests without emulators?

If so, I’m interested to hear solutions. My job won’t allow me to download HAXM for Android Emulators.