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

your docker does not work for me

Open jankowskimarcin opened this issue 5 years ago • 4 comments

Hello

I'm trying with your environment but emulator seems doesn't work for me

I have run command

docker run
--privileged
-d
-p 6080:6080
-p 4734:4734
-p 5554:5554
-p 5555:5555
-v $PWD/samppaA10.apks:/root/tmp
-e DEVICE="Samsung Galaxy S6"
-e APPIUM=true
-e APPIUM_HOST="127.0.0.1"
-e APPIUM_PORT=4734
--name android-container
budtmo/docker-android-x86-10.0

root@087b7b5d6505:~# emulator -force-32bit -avd samsung_galaxy_s6_10.0 sh: 1: file: not found sh: 1: file: not found WARNING: Cannot decide host bitness because $SHELL is not properly defined; 32 bits assumed. PANIC: Missing emulator engine program for 'x86' CPU.

💬 Questions and Help

Please make sure that it is an issue / a feature request. If it is a question / help wanted, please visit our group chat. Thank you!

jankowskimarcin avatar Jun 26 '20 16:06 jankowskimarcin

Having the same problem with regards to the host bitness. Prefixing SHELL=/bin/bash prior to the emulator command doesn't help. Also tried setting the SHELL environment variable via Docker at container launch with no luck.

kevinaj avatar Jul 17 '20 17:07 kevinaj

I had the same issue on Ubuntu 20.04, then I saw https://github.com/budtmo/docker-android/issues/216, https://github.com/budtmo/docker-android/issues/218 and https://github.com/budtmo/docker-android/issues/247, so I checked KVM on my computer. Virtualisation was disabled in BIOS so I enabled it, installed KVM, rebooted, ran the container and the emulator was up and running all of the sudden. More info about virtualisation and KVM: https://help.ubuntu.com/community/KVM/Installation

Szaki avatar Jul 30 '20 09:07 Szaki

Szaki, Thank you! You saved me a day of debugging this issue - I was tried to run it inside VM in Google cloud and also found that the android emulator is dead inside the docker container

TimurNurlygayanov avatar Jan 12 '21 08:01 TimurNurlygayanov

Ok. So a Docker is a self contained space on my CPU that may hold programs for me?

Thank you. Lord Shaun William Patrick Tepel


From: Timur Nurlygayanov [email protected] Sent: Tuesday, January 12, 2021 1:14:41 AM To: budtmo/docker-android [email protected] Cc: Subscribed [email protected] Subject: Re: [budtmo/docker-android] your docker does not work for me (#249)

Szaki, Thank you! You saved me a day of debugging this issue - I was tried to run it inside VM in Google cloud and also found that the android emulator is dead inside the docker container

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/budtmo/docker-android/issues/249#issuecomment-758486234, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARYTLDJ7VHGKJFWWWNSCGITSZQAHDANCNFSM4OJP2CBQ.

TheLightTheMan avatar Jan 12 '21 10:01 TheLightTheMan