Development · GitHub repo

docker-android

Minimal Alpine-based Docker image running the Android emulator as a service.

Visit github.com ↗

docker-android bundles the Android emulator, ADB server, and QEMU into a lightweight Alpine Docker container. It runs headless for automated CI/CD testing pipelines and supports KVM acceleration as well as remote display streaming using scrcpy.

What it's for

  • Run automated Android UI and integration tests inside CI/CD pipelines
  • Stream and interact with an Android virtual device locally using scrcpy
  • Test Android apps against multiple API levels and image types in isolated containers
  • Mount external Android SDK folders to speed up build times and reduce container sizes

Features

  • Minimal Alpine-based container setup with KVM virtualization support
  • Built-in ADB port-forwarding on port 5555
  • Headless execution optimized for CI farms and automated workflows
  • Remote GUI control compatibility via scrcpy
  • Customizable build arguments for API level, CPU architecture, and Play Store support
  • Options for GPU (CUDA) acceleration and persistent virtual device storage

Pricing

Open source

Details

Type
GitHub repo
Category
Development
Topic
Emulators & Virtualization
Open source
Yes
Platforms
Linux, Self-hosted, Command line
For
Android developers and DevOps engineers needing containerized emulator environments.
Alternative to
budtmo/docker-android, Genymotion
Tags
docker, android, emulator, ci cd, testing, kvm

Why it was saved

  • @marc.kaz, 25 April 2026: Enables spinning up an Android virtual device in CI/CD pipelines or local workflows using a single Docker command with ADB, KVM, and GPU acceleration.

Related

Updated