Quantcast
Channel: geek Archives - n3wjack's blog
Viewing all articles
Browse latest Browse all 17

run docker on an old android phone

$
0
0
An android phone installing Docker in a VM.

Raspberry Pi’s are great to tinker with and run various Docker projects on. But they are not easy to come by these days, and even though they are quite inexpensive, they aren’t free either.

What if you could run that Docker project on an old phone you still have lying around? With Termux perhaps?

Apparently it’s not as easy as I thought, but luckily someone has done the heavy lifting for us, and created a little open source project with the necessary scripting to get Docker running on an Android device with Termux.

First, you need to get Termux using the F-Droid app store. The one in the Google Store is an old version and doesn’t work for this.
Run pkg update to update all your local Termux packages, so you’re ready to install with the latest versions of all necessary packages.

When that’s done, head over to this termux-docker project on GitHub, and follow the 2 steps to set up a VM to run Docker in.
Once you’re ready (it takes a while), you can install Portainer to easily manage your containers from a browser. No need to type any command in that Termux shell on your phone or tablet.

In the end, I managed to run some docker containers on my phone, even though it was a little slow. That mostly depends on how fast the device is you’re using however, so happy hacking!

The post run docker on an old android phone appeared first on n3wjack's blog.


Viewing all articles
Browse latest Browse all 17

Trending Articles