Install on Linux
1. Install Docker Engine + ADB
Section titled “1. Install Docker Engine + ADB”You need Docker Engine with the Compose v2 plugin, plus adb on your
PATH. Pick your distro:
# Docker Engine + Compose plugin (official convenience script)curl -fsSL https://get.docker.com | sudo sh
# Android platform tools (adb)sudo apt update && sudo apt install -y android-tools-adbsudo dnf -y install dnf-plugins-coresudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.reposudo dnf -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo systemctl enable --now dockersudo dnf -y install android-toolssudo pacman -S --needed docker docker-compose android-toolssudo systemctl enable --now dockerVerify both are ready:
docker compose version # Compose v2.xadb versionOptional: emulator choices
Section titled “Optional: emulator choices”BlueStacks is the known-good default, but Linux can also run Autopilot against
any Android target that shows up in adb devices and can be kept at
720 × 1280 portrait, 320 DPI, English game language.
| Option | When to use it | Setup notes |
|---|---|---|
| Android Studio Emulator | You want the official Android emulator and already have Android Studio / SDK tools installed. | Create a phone AVD with a custom 720 × 1280 portrait hardware profile, set density to 320 DPI, launch it, then confirm adb devices shows an emulator-#### serial. |
| Waydroid | You want a lightweight Linux-native Android container on a Wayland desktop. | Install and initialize Waydroid for your distro, start the session, connect ADB with adb connect <waydroid-ip>:5555, then verify it appears in adb devices. Waydroid is optional/advanced; test one account first before scaling. |
2. Run the stack
Section titled “2. Run the stack”-
Fetch the compose file
Terminal window curl -fsSL https://batazor.github.io/autopilot-page/docker-compose.prod.yml -o docker-compose.prod.yml -
Start ADB and confirm your emulator is visible
Terminal window adb start-serveradb devices # your emulator/device should be listed as "device" -
Verify the display profile — must be 720 × 1280 @ 320 DPI:
Terminal window adb shell wm sizeadb shell wm densityAlso open the game once and set its language to English. See Emulator setup for the full list.
-
Pull and start redis + bot + api + web:
Terminal window docker compose -f docker-compose.prod.yml up -d --pull always -
Open the dashboard
Terminal window xdg-open http://127.0.0.1:3000/overview
Troubleshooting
Section titled “Troubleshooting”See Troubleshooting for the full list of common failures.