docker-android icon indicating copy to clipboard operation
docker-android copied to clipboard

Long time to start emulator

Open samisamara19881 opened this issue 5 years ago • 2 comments

I'm simply trying to start emulator using the following image: budtmo/docker-android-x86-8.0 (Samsung Galaxy S9) using Kubernetes. Its take around 4-5 mins to emulator to start (hang on Google icon), And after it's up it's take also long time to install application, It's normal time? If no, what can be the reason for that? I ran it on 16Cores,32GB Ram machine

samisamara19881 avatar May 20 '20 09:05 samisamara19881

Same problem for any other image. 8 cores, 16gb RAM, but I don’t think it matters. @budtmo are there any recommendations on this?

kayner avatar Jul 11 '20 13:07 kayner

sudo docker run --privileged -d -p 6080:6080 -p 5554:5554 -p 5555:5555 -e DEVICE="Samsung Galaxy S10" -e EMULATOR_ARGS="-memory 8192 -partition-size 8096" --name android-container budtmo/docker-android-x86-11.0

You can try increase the memory and partition-size, it helped in my case and made the emulator to perform much better.

vovinio avatar Jul 30 '20 18:07 vovinio