Hi,
I’m running the gitlab-runner in a docker container. I’m using the docker executer and I’m trying to connect an Android Emulator running as docker container. Unfortunately there’s no support for services using devices like /dev/kvm which the Android Emualtor-Container heavily relies on (see this issue and this one). As a worka around I’d like to run the Android Emulator Container on the host and access it via network from the job:
android:test:
stage: test
image: xamarin.android:29
script:
- apt-get update
- apt-get install iputils-ping -y
- ping android-emulator
- adb connect android-emulator:5555
I can ping the emulator from the gitlab-runner container but the ping within the jobs fails:
ping: android-emulator: Name or service not known
Is this even possible?
Thanks for your help.