1

I need to enable KVM for my android-ci Docker image to work for emulator based instrumentation tests. The Android emulator requires the kvm device.

Therefore I specify the following in the Runner config (/etc/gitlab-runner/config.toml):

...
[runners.docker]
...
devices = ["/dev/kvm"]
...

Does this somehow impact the security that comes from the isolation between executed Docker images (for a build)?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.