Droidspaces runs zero-overhead Linux containers on rooted Android phones
The non-obvious point is that container support depends on the kernel, so the hardware barrier is Root plus a custom kernel rather than any app limitation — a real commitment for anyone repurposing an old phone. It suits developers who want an always-on, low-power box for SSH, Tailscale networking or CLI agents without paying cloud hosting fees. Compared with Termux PRoot or a VM on Android, it trades convenience for genuine systemd and Docker compatibility.
Droidspaces is a GPL-3.0 open-source project that turns an Android phone into a Linux server by running containers with no performance loss. Unlike Termux's PRoot approach, which lacks full system services, or full virtual machines, which consume too much performance, Droidspaces reuses the phone's own Linux kernel and runs containers the way LXC does, even bringing up systemd normally.
Once installed, the phone behaves like a real Linux host: users can install Ubuntu, Debian, Arch or Alpine images, and can even run Docker and Podman inside the containers. The project supports SSH and Tailscale, so the device can serve as a development machine or host CLI agents. Containers keep running in the background after the app closes, and can auto-start on boot.
Daily operations are wrapped into an Android app — after installing the APK, users pick an image and open a terminal. The trade-offs are real, though: Root access is required, and most stock vendor kernels lack container support, so users need to flash a community-adapted kernel.
想把闲置安卓手机改成随身 Linux 服务器的朋友
现在有开源项目能直接零损耗跑容器了
以前在手机上跑 Linux,要么用 Termux 跑 PRoot,要么开虚拟机 PRoot 缺完整系统服务,虚拟机又太吃性能
开源项目 Droidspaces 直接复用手机的 Linux 内核 像 LXC 一样零损耗跑容器,连 systemd 都能正常拉起
装好后和真 Linux 主机没啥区别: Ubuntu、Debian、Arch、Alpine 随手装 容器里能套娃跑 Docker 和 Podman 配 SSH 和 Tailscale,当开发机或挂 CLI Agent 支持开机自启,关掉 App 容器照样在后台跑
日常操作包进了安卓 App,装好 APK 就能选镜像开终端 不过需要 Root,多数原厂内核没开容器支持,得换社区适配内核
项目 GPL-3.0 开源,有闲置安卓想折腾的可以看看👇 https://t.co/HWRaGdI1RZ
This report is categorized under AITOP's "How-to" desk, focusing on China's AI industry and domestic foundation model ecosystem. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows and US-China foundation model benchmarks and commercialization comparison. Key entities and technical topics under continuous tracking include Droidspaces, containers, open-source projects, Android.
Source attribution: curated from Lxfater (@lxfater).