In this tutorial, we will guide you on installing Docker on your Android phone, specifically using a OnePlus 6T with postmarketOS. I also wrote a blog post detailing how you can run this phone without a battery, allowing it to run indefinitely when connected to a power source. This method transforms your phone into a home server and is a great alternative to a Raspberry Pi. However, it has downsides like the lack of Ethernet support and limited storage options. By following the steps outlined in this tutorial, you can successfully install Docker on your Android phone and expand its capabilities.
https://crackoverflow.com/docs/system_administration/containerization/install-docker-natively-on-android-phone-and-use-it-as-a-home-server/