'How to run android app (.apk) inside a docker container without emulator

I want to run android apps inside a docker container to run them on Linux. I know there are ways to run android apps using some tools like Anbox or Genymotion but these tools take too much memory and make the other apps very slow.

I have tried to run them inside a docker container like this but the problem is, I was able to run .apk only inside an emulator which again is slow. Is there a way to run .apk directly on Android OS (without emulator) inside a container?

Thank you



Solution 1:[1]

I think you can't run a different OS in your container then the one running in your host machine.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Den