Has anyone here tried this? I’m planning on giving it a shot this weekend if I get some free time.
- Atherel@lemmy.dbzer0.comEnglish9 months
That’s technically awesome, I just lack the imagination for a meaningful usecase.
- 9 months
You can run ARM containers on your unused android devices laying around.
- Atherel@lemmy.dbzer0.comEnglish9 months
With integrated UPS! Just wonder if the performance is worth it.
- 9 months
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.
- paper_moon@lemmy.worldEnglish9 months
You got any guides for running the ARM docker containers with root? I already got a rooted phone.
- 9 months
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.servicecommand, 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.
- paper_moon@lemmy.worldEnglish9 months
Appreciate it! Like others I probably won’t use this in practice, but its nice to know how if I wanted to.
- CCMan1701A@startrek.websiteEnglish9 months
The steps look good. It’s running Alpine. I wonder how long this takes start to helloworld.
- fruitycoder@sh.itjust.worksEnglish9 months
Ahh neat! If it’s just a VM it could be a k8s(rke2/k3s) node too then!
