mirror of
https://github.com/budtmo/docker-android.git
synced 2026-04-25 12:15:52 +03:00
[GH-ISSUE #160] Documentation about running docker-android using k8s #114
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-android#114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maauso on GitHub (May 24, 2019).
Original GitHub issue: https://github.com/budtmo/docker-android/issues/160
Operating System:
Kubernetes on to of Amazon Linux 2
Docker Image:
butomo1989/docker-android-x86-7.1.1
Docker Version:
17.06
Docker-compose version (Only if you use it):
we are not using
K8S Yaml to start docker-android:
Expected Behavior
Run docker-android on top of EKS
Actual Behavior
The container can connect to the selenium hub, but when we want to launch the test we found the error
full log attached
docker-android.stdout.log
Also, When we launch the test then we encountered an error in the
appium.logWe are running this docker on top of EKS it shouldn't be a problem, but do you have some documentation or workaround to do it?
@HasBert commented on GitHub (May 25, 2019):
I've not tested the docker container inside with k8s on EKS, but what I tried was running it inside a virtualbox container. There I had the problem, that virtualbox doesn't support hardware virtualization like KVM. In the error message you got it says, that Hardware virtualization is disabled and therefore KVM can not come to work. If you try to run this image on a linux machine you own, you can enable Hardware Virtualization inside the BIOS, if your CPU supports it, and KVM can work.
To find out if your CPU supports Hardware Virtualization, you can type in this command to check this:
if the output is 0 then your CPU doesn't supoort it.
However you could try to run an arm image instead of a x86 image of the emulator. Like asked here: #88 . If you manage it to run the arm image, then you'll probably need like 10 minutes to start the container, which is in the most cases not what you want.
I don't want to disappoint you, but the only thing in mind, how to solve this issue, is to try the EKS does a KVM for you, maybe there is an option somewhere? VMWare does it too, which is in fact no cloud service. I don't even know if this is possible, just a thought.
Hopefully there is someone out there who can give you a more precise answer on your problem.
@budtmo commented on GitHub (May 29, 2019):
You need to make sure that the machine support virtualization. I will close the ticket and please feel free to reopen it.
@maauso commented on GitHub (May 29, 2019):
Thanks for all guys
@budtmo commented on GitHub (May 29, 2019):
It would be great if you can send a PR about your deployment template (e.g. terraform or any other tool), so other can benefit from it and we share the information. @maauso
@maauso commented on GitHub (May 29, 2019):
Sure, but at the moment we are looking for the best approach to have a cheaper metal server on aws
@budtmo commented on GitHub (May 29, 2019):
awesome, Thanks a lot @maauso , I will open the issue and change the title than so we dont forget about it.
@v0n0 commented on GitHub (Jul 22, 2020):
So how does Genymotion run the emulator on non-metal instances? If they can, everyone should be able to. Or did they write custom virtualization?