Skip to content

VKCOM/docker-emulator-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Emulator for Android

docker-emulator-android is an essential component of the android-farm project. It empowers you to run an Android emulator with hardware acceleration within a Docker container.

Key Features

  • High-Performance Configuration: docker-emulator-android employs a high-performance default vCPU and RAM configuration based on recommendations from this presentation and this presentation on performance.

  • Preparatory Manipulations via ADB: The project performs necessary preparatory manipulations with the Android device using the Android Debug Bridge (ADB), ensuring readiness to work with settings and applications.

  • Predefined Values: All required values and configurations are predefined in the config.ini file, simplifying the setup process.

  • Structured Setup Steps: All necessary steps for configuration and project launch are structured as Bash scripts, making deployment and management straightforward.

  • Liveness Probe: docker-emulator-android includes a liveness probe mechanism, ensuring reliable and automatic detection of the container and emulator's state.

Current android tools

commandlinetools linux - 11076708

Building

To build the project, follow these steps:

Clone the project

git clone https://github.com/VKCOM/docker-emulator-android.git

Go to the project directory

cd docker-emulator-android/build/

Make an image build

docker build -t docker-emulator-android-30 .

Usage

To illustrate, here's how to run the default emulator settings with Android API 30:

docker run --rm --privileged -e ANDROID_ARCH="x86" -v /dev/kvm:/dev/kvm docker-emulator-android-30:*

For a comprehensive list of available options, please refer to the official documentation.

License

docker-emulator-android is an open-source project and is made available under the Apache License, Version 2.0.

Please note that Android SDK components are governed by the Android Software Development Kit License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors