android-emulator-container-scripts icon indicating copy to clipboard operation
android-emulator-container-scripts copied to clipboard

On running with Singularity / full user mode

Open msimonin opened this issue 4 years ago • 1 comments

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.

msimonin avatar Aug 21 '20 15:08 msimonin

Yes absolutely! As long as the defaults work for everyone this should be fine.

pokowaka avatar Sep 01 '20 17:09 pokowaka