Install on Linux
1. Install Docker Engine
Section titled “1. Install Docker Engine”You need Docker Engine with the Compose v2 plugin. No host adb — the
bot container ships its own. Pick your distro:
# Docker Engine + Compose plugin (official convenience script)curl -fsSL https://get.docker.com | sudo shsudo 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-pluginsudo systemctl enable --now dockersudo pacman -S --needed docker docker-composesudo systemctl enable --now dockerVerify it’s ready:
docker compose version # Compose v2.xOptional: emulator choices
Section titled “Optional: emulator choices”BlueStacks is the known-good default, but Linux can also run Autopilot against any Android target reachable on the host loopback and 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, and launch it. It shows up on the dashboard’s Devices (ADB) page. |
| Waydroid | You want a lightweight Linux-native Android container on a Wayland desktop. | Install and initialize Waydroid, start the session, then point the bot’s adb at it: docker compose -f docker-compose.prod.yml exec bot adb connect <waydroid-ip>:5555. It then appears on Devices (ADB). Advanced; test one account first. |
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 -
Set the emulator profile — 720 × 1280 @ 320 DPI, game language English, with ADB enabled in the emulator. See Emulator setup; the dashboard warns you if the resolution or DPI is off.
-
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.