Skip to content

Instantly share code, notes, and snippets.

@Fartomy
Created April 5, 2024 14:02
Show Gist options
  • Save Fartomy/609fd7b8c9429f12aca2a0c2e30afff9 to your computer and use it in GitHub Desktop.
Save Fartomy/609fd7b8c9429f12aca2a0c2e30afff9 to your computer and use it in GitHub Desktop.
The Android Container

👽 The Android Container

It may be desired to connect to the android-x86 system in the container running in the virtual machine, via the browser, to the public localhost application over any network.

to based on Debian VM

Setup

  1. Preliminary requirements and kvm settings in this gist must be made for VM.
  2. In addition, in order for the virtual machine to perform virtualization, it is necessary to enable the nested virtualize feature. For this go to these links: to Vbox or to VMWare.
  3. Pull qemu-docker image
  4. Type the following line to download the Android-x86 iso and launch it in qemu.
docker run -it --rm --name qemu -e "BOOT=https://sourceforge.net/projects/android-x86/files/latest/download" -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN qemux/qemu-docker
  1. To learn IP address:
ip a
  1. Enter your VM IP address and 8006 port into the browser to access the system
http://<vm_ip_address>:8006
  1. Use my ngrok gist to open it to the internet and set the port to 8006
ngrok http http://<ip_address>:8006
  1. For android installation, use this gist

That's all.

Source

  1. Computer on browser | Remotely control computers from your regular web browser using noVNC
  2. Access your local computer from anywhere in the world : Hindi
  3. Android-x86 File
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment