budtmo / docker-android

Android in docker solution with noVNC supported and video recording
Other
9.55k stars 1.27k forks source link

[🐛 Bug ]: After I remove a container, new container was stucked #418

Open holycrypto opened 5 months ago

holycrypto commented 5 months ago

Operating System

Ubuntu 22.04

Docker Image

budtmo/docker-android:emulator_11.0

Expected behaviour

Android UI

Actual behaviour

image

Logs

No response

holycrypto commented 5 months ago
image
Antosox8 commented 4 months ago

same error in restart

pawlakmaly commented 2 months ago

Same here, removing container and recreating it from the scretches helps. I've tried also manually start the emulator inside the container, but with no success

jamtheim commented 1 month ago

Same error here

chodorenko commented 1 month ago

its problem from there https://github.com/budtmo/docker-android/blob/7064a9bc2cdfeb99bfa7ea6a1ab3cb888369df42/cli/src/device/emulator.py#L140 In first start installs rights for /dev/kvm and remove root user from system. after reboot container for /dev/kvm present old rights and no can use sudo by not exist root user.

@budtmo Can you explain why this was done? And perhaps it is worth removing the deletion of the root user in the container?