Giter Club home page Giter Club logo

docker-emulator-android's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.