WhiteOakBayou@lemmy.world to Selfhosted@lemmy.worldEnglish · 4 days agoGitHub - cyberkernelofficial/docker-in-termux: This repository contains instructions on how to install Docker in Termux, without root.github.comexternal-linkmessage-square9fedilinkarrow-up187arrow-down11file-text
arrow-up186arrow-down1external-linkGitHub - cyberkernelofficial/docker-in-termux: This repository contains instructions on how to install Docker in Termux, without root.github.comWhiteOakBayou@lemmy.world to Selfhosted@lemmy.worldEnglish · 4 days agomessage-square9fedilinkfile-text
minus-squaresomerandomperson@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up4·4 days agoNope, because it emulates a x86_64 CPU. But if you root, you can install docker to android, WITHOUT emulation; so it’s way better.
minus-squarepaper_moon@lemmy.worldlinkfedilinkEnglisharrow-up1·edit-24 days agoYou got any guides for running the ARM docker containers with root? I already got a rooted phone.
minus-squaresomerandomperson@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up7·4 days agoYou 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.)
minus-squarepaper_moon@lemmy.worldlinkfedilinkEnglisharrow-up2·4 days agoAppreciate it! Like others I probably won’t use this in practice, but its nice to know how if I wanted to.
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.)
Appreciate it! Like others I probably won’t use this in practice, but its nice to know how if I wanted to.