Skip to content

Instantly share code, notes, and snippets.

@QAutomatron
Last active September 22, 2021 12:25
Show Gist options
  • Save QAutomatron/4b38ba9155e87ec0c81b1624903837d3 to your computer and use it in GitHub Desktop.
Save QAutomatron/4b38ba9155e87ec0c81b1624903837d3 to your computer and use it in GitHub Desktop.
Start Android emulator farm
#!/bin/bash
for i in {10..60}; do adb connect 172.17.0.1:56$i; done
#!/bin/bash
for i in {10..60}; do adb connect localhost:56$i; done
version: "2.2"
services:
android-31:
image: qautomatron/docker-emulator-android-31:220921
privileged: true
cpus: 2
scale: 0
ports:
- "5610-5660:5555"
- "5910-5960:5900"
environment:
- ANDROID_ARCH="x86_64"
android-30:
image: qautomatron/docker-emulator-android-30:170621
privileged: true
cpus: 2
scale: 0
ports:
- "5610-5660:5555"
- "5910-5960:5900"
environment:
- ANDROID_ARCH="x86_64"
android-29:
image: qautomatron/docker-emulator-android-29:020721
privileged: true
cpus: 2
scale: 0
ports:
- "5610-5660:5555"
- "5910-5960:5900"
environment:
- ANDROID_ARCH="x86_64"
android-28:
image: qautomatron/docker-emulator-android-28:170621
privileged: true
cpus: 2
scale: 0
ports:
- "5610-5660:5555"
- "5910-5960:5900"
environment:
- ANDROID_ARCH="x86_64"
android-27:
image: qautomatron/docker-emulator-android-27:latest
privileged: true
cpus: 2
scale: 0
ports:
- "5610-5660:5555"
- "5910-5960:5900"
environment:
- ANDROID_ARCH="x86
android-21:
image: qautomatron/docker-emulator-android-21:170621
privileged: true
cpus: 2
scale: 0
ports:
- "5610-5660:5555"
- "5910-5960:5900"
environment:
- ANDROID_ARCH="x86_64"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment