Is there any way to host an android app in a web browser?
Ideally with docker, likely all of Android, not just an app, but running just an app would be amazing.
Kasm Workspace has a Redroid image that lets you use Android in a web browser along with any of the other images Kasm has in their registry. There are some caveats in the installation that are explained in the docs. YMMV depending on your knowledge levels.
Alternatively, figure out how to install Redroid directly. https://github.com/remote-android/redroid-doc Keep in mind, you will either want to run this on a baremetal install of one of the supported distros listed or a full VM. It will want Binderfs, and that’s a pain in the ass to install on an LXC container if that’s what you’re using as a docker host.
There is probably no out of the box solution, but if you want to give it a go and hack it together, this combination might work (or it might not, I don’t think anybody tried yet)
https://github.com/linuxserver/docker-webtop
&
Also possibly https://waydro.id/
Waydroid + some kind of webVNC maybe
Can you share your use case?
Waydroid is likely what you want although it is not web based
deleted by creator
You can setup proxmox and install android x86 or blissOS in a VM
That would be interesting. If this is going where I think it is then it would probably suck seeing as touch screen input feels exponentially worse with latency but nonetheless would be really cool to see work for hosting a web app of sorts for desktop use.
Check out linuxserver.io, kasm and whatever the x11 version of waydroid is called. I can’t remember it at the moment. That should give you enough to get started building a container if you want.
If you need banking apps, consider a cheap used/old Android phone with a VNC server on it, then noVNC pointed to that to get it on the web.