Hey everyone! I'm trying to find out if it's possible to set up a full Android phone environment inside a Docker container or a virtual machine on a server. I want to be able to access and control it from my iPhone as if I'm using a real Android device, not just running apps. It's like I envision a scenario similar to Guacamole where I can just enter a URL in my browser and bring up the Android VM, or using something like VirtualBox. Has anyone done this or does anyone have advice on how to set it up? I'm new to this and currently have Docker Desktop running on my Windows PC. Thanks in advance! 🙏
2 Answers
Here are some good starting points for your setup:
For Docker, try [this Docker Android image](https://github.com/budtmo/docker-android). It's pretty popular.
If you want to go the VirtualBox route, check out [this Android x86 documentation](https://www.android-x86.org/documentation/virtualbox.html). It's not the newest version, but it should work. Once you have that running, remember to activate "Remote Display" and you can use an RDP client from your phone!
I haven't tried that myself, but it sounds like a cool setup. If you find a good solution, make sure to share it!
Actually, I found a project on GitHub called dock-droid, but I couldn't get it to work. Might be worth checking though!
For sure, keep me posted if you find something interesting!
I want to make sure the PC is running it and access it via VNC or a similar method. Do you think that's possible?