Has anyone here tried this? I’m planning on giving it a shot this weekend if I get some free time.
Ahh neat! If it’s just a VM it could be a k8s(rke2/k3s) node too then!
That’s technically awesome, I just lack the imagination for a meaningful usecase.
You can run ARM containers on your unused android devices laying around.
With integrated UPS! Just wonder if the performance is worth it.
Nope, because it emulates a x86_64 CPU.
But if you root, you can install docker to android, WITHOUT emulation; so it’s way better.
You got any guides for running the ARM docker containers with root? I already got a rooted phone.
You need to patch the kernel for docker, make sure you use Magisk or KernelSU (KSU N may be supported, but likely no) and install this magisk module.
The daemon is managed by the
dockerd.service
command, and the main command docker is well…normal docker.(Of course, you’ll need a root shell to use these commands; and you’re pretty much on your own.)
CAREFUL: Running Containers in your phone will go through your battery health really quick. As with everything root; you’re on your own and do this at your own risk.
Appreciate it! Like others I probably won’t use this in practice, but its nice to know how if I wanted to.
The steps look good. It’s running Alpine. I wonder how long this takes start to helloworld.