Has anyone here tried this? I’m planning on giving it a shot this weekend if I get some free time.

  • somerandomperson@lemmy.dbzer0.comdeleted by creator
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 months ago

    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.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      You got any guides for running the ARM docker containers with root? I already got a rooted phone.

      • somerandomperson@lemmy.dbzer0.comdeleted by creator
        link
        fedilink
        English
        arrow-up
        7
        ·
        7 months ago

        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.

        • paper_moon@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 months ago

          Appreciate it! Like others I probably won’t use this in practice, but its nice to know how if I wanted to.