Skip to content

Install on Linux

You need Docker Engine with the Compose v2 plugin. No host adb — the bot container ships its own. Pick your distro:

Terminal window
# Docker Engine + Compose plugin (official convenience script)
curl -fsSL https://get.docker.com | sudo sh

Verify it’s ready:

Terminal window
docker compose version # Compose v2.x

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.

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, and launch it. It shows up on the dashboard’s Devices (ADB) page.
WaydroidYou 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.
  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. Set the emulator profile720 × 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.

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

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

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

See Troubleshooting for the full list of common failures.