A docker image for running an Android Emulator
2.7K
This image is built on Ubuntu 14.04 and runs Docker with AUFS support. It allows you to run an Android Emulator via the Android SDK within the image and view the desktop via NoVNC.
Note! - This only works if your docker host supports AUFS otherwise you'll run out of space.
Follow these instructions to build a compatible docker host or cheat and use the public AMI I made available on AWS.
If you already have a AUFS Docker Host Just do a docker pull craigw9292/android-emulator Then run it, docker run -dt -p 6901:6901 craigw9292/android-emulator You can then surf to your host IP on 6901 and run the vnc_auto.html to see the Desktop.
The default vnc password is "vncpassword".
To build a compatible docker host do the following:
sudo apt-get update
sudo apt-get -y install linux-image-extra-$(uname -r)
sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -"
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main\ > /etc/apt/sources.list.d/docker.list"
sudo apt-get update
sudo apt-get -y install lxc-docker
* Now follow the initial instructions, pull and run the docker image.
Once you're up and running over NoVNC you'll find the Android SDK under the home folder. ~/. There is also a demo AVD setup which can be run using ./android avd to load the AVD manager then run the supplied emulator.
If you want to build this all from scratch you can follow the instructions here, https://github.com/typemismatch/android-emulator
Content type
Image
Digest
sha256:215e3ac09…
Size
3.5 GB
Last updated
almost 11 years ago
docker pull craigw9292/android-emulator