android-emulator-container-scripts
android-emulator-container-scripts copied to clipboard
On running with Singularity / full user mode
I need to run the generated docker images (the ones built with emu-docker create
) with singularity [1]
First thing: this is working quite well !
But since singularity doesn't allow port mapping when calling in user mode (/I may be wrong/), port collisions will occur when starting a second container in the same machine.
It seems that this can be fixed by changing the ports in the launch_emulator.sh
(console, debugger, grpc and socat ports) so I'm wondering if you'd accept to allow those ports to be parameterized by an environment variable (like ADB_KEY in the same file). We could default to the current values if the variables are unset.
Yes absolutely! As long as the defaults work for everyone this should be fine.