Live data from Hacker News

Run Linux containers on Android, no root required

github.com

11–20 of 96 posts

Re: Run Linux containers on Android, no root required

#13
post #7

curious is this just software qemu(not sure what word exactly was) instead of virtualization acceleration, probably more overheads?

Yes, under How It Works : > libqemu-system-aarch64.so (QEMU TCG, no KVM) TCG means software emulation

I thought why is qemu used here? Why not use linux native namespaces and cgroups.

Re: Run Linux containers on Android, no root required

#14
post #7

Earlier quoted context omitted.

Yes, under How It Works : > libqemu-system-aarch64.so (QEMU TCG, no KVM) TCG means software emulation

I thought why is qemu used here? Why not use linux native namespaces and cgroups.

Permissions. Isolation.

Re: Run Linux containers on Android, no root required

#15

Is it possible to get the reverse of this working? (Waydroid with play services on Linux phones, such as postmarketOS)

Why wouldn't it? All you need is a binder device for Android IPC and root access to launch Waydroid. It should work perfectly fine when installed and used with Wayland.

Re: Run Linux containers on Android, no root required

#17
I don't understand what this would be useful for. The Linux terminal app on Android (check Developer settings if you want it) already exists and it uses hardware accelerated virtualization, while this uses QEMU with TCG. The Linux terminal app also supports running a DE (No VNC - as in no VNC, not NoVNC - required!), has full shell, full root, all the features of Podroid, and hell, you could even swap out the terminal if you wanted to. The only advantage to this seems that it supports Android 14, 15, and 16. Am I missing something, or does this have no purpose?

Re: Run Linux containers on Android, no root required

#18
post #17

I don't understand what this would be useful for. The Linux terminal app on Android (check Developer settings if you want it) already exists and it uses hardware accelerated virtualization, while this uses QEMU with TCG. The Linux terminal app also supports running a DE (No VNC - as in no VNC, not NoVNC - required!), has full shell, full root, all the features of Podroid, and hell, you could even swap out the termina…

Sometimes the capability unlocks the possibilities.

Re: Run Linux containers on Android, no root required

#20

Is it possible to get the reverse of this working? (Waydroid with play services on Linux phones, such as postmarketOS)

I've been using Waydroid with microG on a Librem 5 with PureOS for years. Not extensively as I don't have a lot of reasons to boot Android, but when I do have one it's there.

I've seen some guides for installing Play Services in Waydroid, but personally I'm not interested.

Post reply on HN