Public | Automated Build

Last pushed: 3 months ago
Short Description
Appium server to run tests on Android emulators and a VNC Server
Full Description

Appium Emulator Debug

Appium server to run tests on Android emulators and a VNC Server to allow you to visually see the Android emulator.
Since it runs additional services to support this it is too heavy weight for usage to automate tests.

This image has been created based on Selenium NodeFirefoxDebug image:
https://github.com/SeleniumHQ/docker-selenium/blob/master/NodeFirefoxDebug

How to use this image

Launch the image

$ docker run -d -P --name appium-emulator-debug rgonalo/appium-emulator-debug

Get VNC port and Appium server ip and port

You can acquire the ports that the Appium and VNC servers are exposed to by running:

$ docker port appium-emulator-debug
#=> 4723/tcp -> 0.0.0.0:49412
    5900/tcp -> 0.0.0.0:49413

In Linux, Appium server ip is 127.0.0.1, but in Windows and Mac you must acquire the ip by running:

$ docker-machine ip
#=> 192.168.99.100

Run Appium tests

Execute your Appium tests on the remote server 192.168.99.100:49412. The test will be executed in a Nexus S emulator
with Android 4.4 (API 19).

You can tail Appium server logs with the following docker command:

$ docker logs --follow appium-emulator-debug

Also, you can connect with a VNC Client to 192.168.99.100:49413 to view the Ubuntu desktop and the Android emulator.
The default VNC password is secret.

To install an APK, copy the APK file into the container and then install it with adb from container:

$ docker cp APK_FILE appium-emulator-debug:/
$ docker exec -it appium-emulator-debug adb install APK_FILE
Docker Pull Command
Owner
rgonalo
Source Repository

Comments (4)
rgonalo
3 months ago

I've just pushed new images with Appium 1.6.3 and 1.6.4. Pull the corresponding tag and give it a try.

myangelct1984
3 months ago

after update appium 1.6.3,The environment is wrong
please give me a Solution,thank you!

rgonalo
4 months ago

Hi @myangelct1984,

To install an apk, copy the APK file into the container and then install it with adb from container:
$ docker cp APK_FILE appium-emulator-debug:/
$ docker exec -it appium-emulator-debug adb install APK_FILE

myangelct1984
4 months ago

how connect adb 5555 in container
install apk