BD

budtmo/docker-android

部署与 DevOps

本页由 AI 翻译,技术细节请以原文为准。 查看原文

1.6万 stars 1768 forks 质量 60 趋势 56NOASSERTION

支持noVNC的Androiddocker解决方案,视频录制和MCP服务器

概览

Docker-Android 是一个为 Android 相关所有内容而构建的 Docker 镜像。它可以用于应用开发和测试(原生、网页和混合应用)。 使用该项目的优势-------------------------------- 1.具有不同设备配置和皮肤的模拟器,如三星Galaxy S6、LG Nexus 4、HTC Nexus One等。2. 支持VNC以查看docker容器内部的运行 3.支持日志共享功能,所有日志均可从网页界面访问 4.能够通过使用adb connect从外部容器控制模拟器 5.可与其他云解决方案集成,如Genymotion Cloud 6。可用于构建Android Project 7。可用于运行单元测试和UI-Test,使用不同的测试框架,如Appium、Espresso等。

概述(AI 翻译)

Docker-Android 是一个为 Android 相关所有内容而构建的 Docker 镜像。它可以用于应用开发和测试(原生、网页和混合应用)。

使用该项目的优势

  1. 拥有不同设备配置和皮肤的模拟器,如三星Galaxy S6、LG Nexus 4、HTC Nexus One等。
  2. 支持VNC,以便看到docker容器内部发生了什么
  3. 支持日志共享功能,所有日志均可从网页界面访问
  4. 通过 adb connect 从外部容器控制模拟器的能力
  5. 与其他云解决方案集成,例如Genymotion云
  6. 可用于构建Android项目
  7. 它可以用于运行单元测试和UI-Test,配合不同的测试框架,例如Appium、Espresso等。
  8. 它支持(http) MCP-Server(测试版)
  9. 支持AI-Agent(测试版)——支持本地LLM服务器:Ollama、VLLM

Docker-Images 列表

Android API 最新版本的镜像 特定版本的镜像
9.0 28 Budtmo/Docker-Android:emulator_9.0 Budtmo/Docker-Android:emulator_9.0_
10.0 29 Budtmo/Docker-Android:emulator_10.

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Docker-Android is a docker image built to be used for everything related to Android. It can be used for Application development and testing (native, web and hybrid-app).

Advantages of using this project

  1. Emulator with different device profile and skins, such as Samsung Galaxy S6, LG Nexus 4, HTC Nexus One and more.
  2. Support vnc to be able to see what happen inside docker container
  3. Support log sharing feature where all logs can be accessed from web-UI
  4. Ability to control emulator from outside container by using adb connect
  5. Integrated with other cloud solutions, e.g. Genymotion Cloud
  6. It can be used to build Android project
  7. It can be used to run unit and UI-Test with different test-frameworks, e.g. Appium, Espresso, etc.
  8. It support (http) MCP-Server (beta-version)
  9. It support AI-Agent (beta-version) - supported local-LLM server: Ollama, VLLM

List of Docker-Images

Android API Image with latest release version Image with specific release version
9.0 28 budtmo/docker-android:emulator_9.0 budtmo/docker-android:emulator_9.0_
10.0 29 budtmo/docker-android:emulator_10.0 budtmo/docker-android:emulator_10.0_
11.0 30 budtmo/docker-android:emulator_11.0 budtmo/docker-android:emulator_11.0_
12.0 32 budtmo/docker-android:emulator_12.0 budtmo/docker-android:emulator_12.0_
13.0 33 budtmo/docker-android:emulator_13.0 budtmo/docker-android:emulator_13.0_
14.0 34 budtmo/docker-android:emulator_14.0 budtmo/docker-android:emulator_14.0_
- - budtmo/docker-android:genymotion budtmo/docker-android:genymotion_
- - budtmo/docker-android:mcp budtmo/docker-android:mcp_

List of Devices

Type Device Name
Phone Samsung Galaxy S10
Phone Samsung Galaxy S9
Phone Samsung Galaxy S8
Phone Samsung Galaxy S7 Edge
Phone Samsung Galaxy S7
Phone Samsung Galaxy S6
Phone Nexus 4
在 GitHub 查看完整 README

安装

docker run -d -p 6080:6080 -e EMULATOR_DEVICE="Samsung Galaxy S10" -e WEB_VNC=true --device /dev/kvm --name android-container budtmo/docker-android:emulator_11.0