redroid-doc icon indicating copy to clipboard operation
redroid-doc copied to clipboard

Make modules/priviledge optional?

Open wsmlby opened this issue 7 months ago • 1 comments

Hi Everyone. Really appreciate all the great work on this project.

is it possible to remove the following requirements as optional? I understand certain feature may not work when modules/priviledge is removed, and I am happy to contribute if needed. Can you comment on why each modules and the privileges are needed?

  1. the kernel modules,
  2. need to run as --privileged

My use case here is: I find some library only available on Android and I built a gRPC service (as an Android foreground service) using it. If we can remove certain module requirements, this can be deployed on k8s/aws lambda/ecs or any other docker compatible container environments just like any other dockerized services.

Appreciate your time and attention, thanks again for the great work so far.

wsmlby avatar May 01 '25 18:05 wsmlby

The kernel modules are required by the Android OS itself, so there is no way to remove that requirement and still have a working Android environment in a container.

karlbaumg avatar May 01 '25 20:05 karlbaumg