Public | Automated Build

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

Android Debug

Appium server to run tests on Android devices and a VNC Server to allow you to visually see the Ubuntu desktop.
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:

How to use this image

Launch the image

Launch the image with --privileged option to allow docker instance to view connected USB devices:

$ docker run -d -P --privileged -v /dev/bus/usb:/dev/bus/usb --name appium-debug rgonalo/appium-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-debug
#=> 4723/tcp ->
    5900/tcp ->

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

$ docker-machine ip

Run Appium tests

Connect your Android mobile to the host via USB and execute your Appium tests on the remote server

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

$ docker logs --follow appium-debug

Also, you can connect with a VNC Client to to view the Ubuntu desktop. 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-debug:/
$ docker exec -it appium-debug adb install APK_FILE
Docker Pull Command
Source Repository