ravindu644/Droidspaces-OSS
System ToolsRun full Linux distributions as containers on rooted Android phones or Linux PCs, with their own init systems.
What it does
Droidspaces is a container runtime for rooted Android devices and Linux machines. Instead of emulating hardware or booting a virtual machine, it uses the host kernel and Linux namespaces to run a full distribution such as Ubuntu, Debian, Fedora, Arch, Alpine, NixOS, or OpenWrt. Each container starts its own init system (systemd, OpenRC, and others) as PID 1, so services, timers, and in-container reboots behave like a normal Linux system (3).
The implementation is a single static binary of roughly 450 KB plus an Android app that drives it. The same binary supports x86_64, aarch64, armhf, x86, and riscv64. Networking modes include NAT, a gateway container such as OpenWrt, and macvlan for direct LAN presence. Optional features cover GPU acceleration through VirGL or Qualcomm Turnip, PulseAudio sound, a Wayland desktop via Anland, nested Docker and Podman, and access to real devices through a toggle (3).
It is aimed at people who want a Linux userland, home-server workloads, or a desktop environment on an Android phone, and who are comfortable rooting and possibly rebuilding a kernel.
Getting started on Android
Prerequisites are a rooted device (KernelSU recommended; Magisk and APatch also work), a kernel built with the options Droidspaces needs, and kernel 3.10 or newer (3). Most stock kernels lack the required options; check the kernel configuration guide or the community-supported devices list for ready-made kernels.
- Install the APK from the latest release, grant root, open the app, and let it install the backend. Reboot when prompted.
- Open the Containers tab, tap +, then Repository, choose a distribution, download and install it, and complete the setup flow.
- Tap Start, then open the Panel tab and tap Terminal to get a shell.
The Android installation guide covers the same steps in detail.
Getting started on Linux
On Linux you need kernel 3.10 or newer and root. Install the binary and prepare a rootfs, then confirm support with:
sudo droidspaces check
The Linux installation guide explains how to install Droidspaces, obtain a rootfs, and place it in an image file. The CLI reference documents every command and option.
Constraints and risks
Droidspaces is a privileged container runtime: a hostile root process inside a container can reach the host. Do not run untrusted code in a container, and use a normal user with sudo for everyday work. Hardware access and privileged mode remove remaining isolation barriers, so enable them only when needed (3).
On Android, the practical limiting factor is the kernel. Without the required configuration options, containers will not start, and fixing that may require building and flashing a custom kernel. Containers can start at boot before unlock and keep running whether the app is open, closed, or uninstalled, which is convenient for server-like use but also means a running container is not tied to the app lifecycle. The project is licensed under GPL-3.0 (40).
HotRepo's take
Droidspaces reached 6th place on GitHub's all-language daily ranking on 2026-12-04, with 2,871 stars and 306 forks on that day and 134 stars gained in the daily window. The draw is clear from the technical description: a single small binary and an app that together provide real init-based Linux containers on an Android phone, where the usual alternatives are chroots, PRoot, or a VM. That positioning, plus the fact that most stock kernels need work before it will run, means interest is likely skewed toward people already rooted and willing to customize kernels rather than casual users.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.