luoshixin93-sudo/docker-android-cloud-run ? reverse-engineered prompt

Reverse engineered prompt

Build me a Docker based Android emulator that I can run locally or on a cloud VM and open in a browser. I want it to start an Android 11 virtual device, use hardware acceleration when available, and let me control it from a web page without installing anything extra on my computer. It should also expose ADB so I can connect from my machine, and I want the option to use scrcpy too.

Please make it support ARM apps through translation, and include simple options to turn on root and Google apps if I need them. I’d like to be able to set things like memory, screen size, density, and DNS through environment settings, and have the container show clear startup logs since the first boot can take a while.

If anything about the setup depends on current Docker or emulator docs, look that up online and use the safest approach.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab