Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

When you get x on turmux working you see what mobile development could have been and weep for the fallen world we live in.


containers/podman > [Feature]: Android support: https://github.com/containers/podman/discussions/17717 :

> There are docker and containerd in termux-packages. https://github.com/termux/termux-packages/tree/master/root-p...

But Android 13+ supports rootless pKVM VMs, which podman-machine should be able to run containers in; (but only APK-installed binaries are blessed with the necessary extended filesystem attributes to exec on Android 4.4+ with SELinux in enforcing mode.)

- Android pKVM: https://source.android.com/docs/core/virtualization/architec... :

> qemu + pKVM + podman-machine:

> The protected kernel-based virtual machine (pKVM) is built upon the Linux KVM hypervisor, which has been extended with the ability to restrict access to the payloads running in guest virtual machines marked ‘protected’ at the time of creation.

> KVM/arm64 supports different execution modes depending on the availability of certain CPU features, namely, the Virtualization Host Extensions (VHE) (ARMv8.1 and later).

- "Android 13 virtualization lets [Pixel >= 6] run Windows 11, Linux distributions" (2022) https://news.ycombinator.com/item?id=30328692

It's faster to keep a minimal container hosting VM updated.

So, podman-machine for Android in Termux might help solve for development UX on Android (and e.g. Android Studio on Android).

podman-machine: https://docs.podman.io/en/latest/markdown/podman-machine.1.h...


Wait so you're telling me I can run podman on android?


Looks like it's almost possible to run podman-machine on Android; and it's already possible to manually create your qcow for the qemu on Android and then run containers in that VM: https://github.com/cyberkernelofficial/docker-in-termux




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: