github

ravindu644 / Droidspaces-OSS

  • суббота, 5 декабря 2026 г. в 00:00:05
https://github.com/ravindu644/Droidspaces-OSS

A lightweight, LXC-like container runtime for Android and Linux. Run full Linux distributions natively with zero performance penalty



English | 简体中文

Real Linux on Android, systemd and all. Droidspaces runs full Linux distributions directly on your phone's own kernel.

Latest release License: GPL v3 Website Telegram channel

Droidspaces

Droidspaces runs full Linux distributions as containers on a rooted Android phone or a Linux PC. Each container boots its own init system, whether systemd, OpenRC or any other, on the host's kernel.

There is no emulation and no virtual machine, so programs run at native speed. One static binary of about 450 KB does all of it, and the Android app drives that binary so you never need a terminal to get started.

  • A real Linux system, not a chroot, not PRoot, not a virtual machine. Ubuntu, Debian, Fedora, Arch, Alpine, NixOS, OpenWrt and more boot with their own init as PID 1. Services, timers, reboot from inside the container, all of it works.
  • Networking that works out of the box. NAT mode gives every container its own address and internet, with no setup. Gateway mode routes containers through a router container such as OpenWrt, and macvlan puts one straight on your wired LAN.
  • A desktop on your phone. Anland or Termux:X11 for the display, VirGL or Qualcomm's Turnip for the GPU, and PulseAudio for sound. The display, VirGL and sound servers start with the container.
  • Containers inside containers. Docker and Podman run inside a container, and Allow Sandboxing lets rootless Docker and Podman, Flatpak and bwrap build their own sandboxes too.
  • Hardware when you want it. One toggle gives a container the real /dev: GPU, USB and block devices. The same binary runs on Linux for x86_64, aarch64, armhf, x86 and riscv64.
  • Containers that stay up. On Android a container can start at boot, before you unlock the phone, and keeps running whether the app is open, closed or uninstalled.

Requirements

Android

Linux

  • Kernel 3.10 or newer and root. Any current desktop distribution has everything else. Run sudo droidspaces check to confirm.

Get started

Android

  1. Install the APK from the latest release, grant root, open it, and let it install the backend. Reboot when it asks.
  2. Open the Containers tab, tap +, then Repository. Pick a distribution, tap Download, then Install, and walk through the setup.
  3. Tap Start. Open the Panel tab and tap Terminal to get a shell.

The Android installation guide covers each step in detail.

Linux

The Linux installation guide shows how to install Droidspaces, where to get a rootfs and how to put it in an image file.

Screenshots


Home

Containers

Panel

Warning

Droidspaces is a privileged container runtime: a hostile root process inside a container can reach the host. Do not run code you do not trust in a container, and use a normal user with sudo for daily work. Hardware access and privileged mode relax the remaining barriers, so turn them on only when you need them.

Documentation

Everything below is also on the documentation site, rendered and searchable.

Page What it covers
Android installation From a rooted phone to a running container, in the app.
Linux installation Installing the binary and preparing a rootfs on a PC.
Android app guide Every screen in the app and what it does.
Kernel configuration Building an Android kernel with Droidspaces support.
Community-supported devices Phones known to run Droidspaces, with kernel sources.
Container settings Each toggle and flag: what it does and when to use it.
Command line reference Every command and option, the config file and JSON output.
Display, audio and desktop GPU acceleration, sound and a desktop environment on Android and Linux.
Anland A Wayland desktop on Android through the Anland app, for KDE Plasma and other Wayland compositors.
Recipes A phone as a home server with Tailscale, Docker inside a container, and more.
Troubleshooting Symptoms, causes and fixes.
NixOS Building and configuring a NixOS container.
Networking from zero How the network modes work, from IP addresses up to an OpenWrt gateway.
Uninstallation Removing Droidspaces from Android or Linux.

Questions and help go to the Telegram discussion group, bugs and feature requests to GitHub issues. Code contributions start with CONTRIBUTING.md, and app translations are on Weblate.

Translation status

Credits

License

GNU General Public License v3.0. Copyright (C) 2026 ravindu644 and contributors.