Skip to content

Install on Linux

You need Docker Engine with the Compose v2 plugin, plus adb on your PATH. Pick your distro:

Terminal window
# 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-adb

Verify both are ready:

Terminal window
docker compose version # Compose v2.x
adb version

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.

OptionWhen to use itSetup notes
Android Studio EmulatorYou 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.
WaydroidYou 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.
  1. Fetch the compose file

    Terminal window
    curl -fsSL https://batazor.github.io/autopilot-page/docker-compose.prod.yml -o docker-compose.prod.yml
  2. Start ADB and confirm your emulator is visible

    Terminal window
    adb start-server
    adb devices # your emulator/device should be listed as "device"
  3. Verify the display profile — must be 720 × 1280 @ 320 DPI:

    Terminal window
    adb shell wm size
    adb shell wm density

    Also open the game once and set its language to English. See Emulator setup for the full list.

  4. Pull and start redis + bot + api + web:

    Terminal window
    docker compose -f docker-compose.prod.yml up -d --pull always
  5. Open the dashboard

    Terminal window
    xdg-open http://127.0.0.1:3000/overview

See Troubleshooting for the full list of common failures.