VKCOM / docker-emulator-android

Apache License 2.0
13 stars 5 forks source link

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

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.