Open jay0129 opened 2 years ago
I don't know if it's an issue, but sometimes when you restart the container, some lock files are not deleted and on the next boot it fails to start the emulator.
Run this inside the container:
rm /root/android_emulator/hardware-qemu.ini.lock /root/android_emulator/multiinstance.lock
After this restart the container, you'll see the container will be healtlhy again.
🐛 Bug Report
Operating System:
CentOS 7
Docker Image: budtmo/docker-android-x86-12.0
Docker Version:
Docker version 19.03.3, build a872fc2f86
Docker Command to start docker-android:
docker run --privileged -d -p 8055:6080 -p 5554:5554 -p 5555:5555 -e DEVICE="Samsung Galaxy S10" --name emulator-container-monkey-5555 budtmo/docker-android-x86-12.0
What I did:
docker stop emulator-container-monkey-5555
docker start emulator-container-monkey-5555
Expected Behavior
Emulator should show up with app installed
Actual Behavior
Emulator is missing at noVNC viewer. Possibly the emulator is crashed.![image](https://user-images.githubusercontent.com/62974859/142994616-0b59b7bf-fd41-4cc2-adc4-1533965b809d.png)
Additional Note
If I don't install app and just web browse via chrome, after restarting the container, the emulator shows up and the browser history remains still.
My Question here is do I need to attach volume? If so, could anyone tell me which directory I should mount?