top | item 42340901

(no title)

lostemptations5 | 1 year ago

This is silly. It's quite simple to install Docker on any stock Android using Termux.

https://github.com/cyberkernelofficial/docker-in-termux

I've done it successfully a few times and it works just fine.

discuss

order

jraph|1 year ago

Termux is an option but using pmOS is far from silly.

Android and Termux have their limitations. Granted, I was running a full KDE session in Termux on a 2016 phone, but I saw Android OOM-kill random processes in Termux. You probably don't have a swap partition on your Android phone. Android apps are designed to be killed when in background, and Android avoids killing the app at the foreground, but Android doesn't know some processes running in Termux shouldn't be killed. This could happen if something on your server suddenly uses more RAM than anticipated.

On a regular Linux distro, you can have a swap file and/or teach the OOM to not kill some critically important services, like ssh for instance.

__jonas|1 year ago

This is for running inside qemu, the OP says "Install Docker Natively", I don't think it's silly, not really the same thing

IshKebab|1 year ago

A simple 18 step process! And you have to run it on a QEMU VM.

JulianWasTaken|1 year ago

Considering that part of the point is being able to use end-of-life devices, it's doing this in Termux that would be silly, don't run an OS which isn't getting security patches.