The Droidspaces Android app is a GUI for managing Linux containers. It handles the namespaces and mounts for you and leaves you in control of each container's settings.
- Home: a dashboard showing how many containers are installed and running, whether root is available, and the backend version.
- Containers: manages every installed container (Install, Start, Stop, Edit and Uninstall).
- Panel: manages Running Containers and shows live System Statistics (CPU, RAM, temperature and more).
This tab lists your installed containers, and the "+" icon installs a new one. Each container has a control card:
- Install button (+): install a new container.
- Play button: start the container and boot its init system.
- Stop button: send a clean shutdown signal to the container's init.
- Cycle button: fast-restart the container.
- Terminal icon (logs): open the saved logs of the container's previous start, stop and restart sequences.
Tip
Press and hold a container's card to edit its configuration or uninstall it. The same menu migrates a container to a rootfs.img or resizes an existing rootfs.img.
The cloud icon above the "+" button opens the Rootfs Repository, a built-in distro browser for downloading and installing Linux rootfs images without leaving the app.
- Tap the cloud icon in the Containers tab.
- The sheet opens and loads the available distros from the Droidspaces official repository. Only images matching your device’s architecture are shown.
- Search the list by name, description or author with the search bar.
- Tap Download on a distro card. A progress bar tracks the download, and the file is saved to your Downloads folder.
- When it finishes, the button changes to Install. Tap it to go straight to the container setup wizard.
Note
If a download fails, the card shows a Retry button. Files downloaded earlier are detected on relaunch, so the Install button is already there.
The repository also reads third-party rootfs sources that use the same JSON format.
- Tap the settings icon (left of the refresh icon) in the sheet header.
- Enter a name and a URL pointing to a valid
rootfs.json. - Tap Add, then Save. The sheet refreshes and merges results from all sources.
Tip
For a much wider selection of distros, add the official LXC images mirror as a custom repository:
- Name: anything you like (for example
LXC Mirror) - URL:
https://raw.githubusercontent.com/Droidspaces/linuxcontainers-mirror/refs/heads/main/rootfs.json
When you create or edit a container, you choose one of four networking modes:
- Host (Default): shares the host network directly.
- NAT (Isolated): a private network namespace with a deterministic IP and port forwarding.
- None: no network access.
- Gateway: the container's LAN is delegated to another running container (typically OpenWRT), which owns DHCP, DNS, firewall and routing. Select the gateway container and (optionally) the LAN segment, interface and bridge in the Gateway settings. See Networking From Zero for the full guide.
In NAT (Isolated) mode the internet uplink is detected automatically, and there is nothing to configure. Droidspaces reads the kernel's routing state to find the interface Android is using for internet (Wi-Fi, mobile data, ethernet), and a background Route Monitor keeps the container connected as you switch networks.
To make the container ignore the active network and pin its internet to specific interface(s), add them under Upstream Interface. This turns off auto-detection and sends the WAN through your list only:
- The list is priority-ordered and supports wildcards. For example,
wlan0, rmnet*prefers Wi-Fi and falls back to mobile data (usermnet*because the mobile-data interface number is not stable). - Example, VPN killswitch: run a VPN app on the phone and pin
tun0so the container can only reach the internet through the tunnel. - Example, cellular while on Wi-Fi: enable Mobile data always active in Developer Options, connect Wi-Fi, turn on mobile data, and pin
rmnet*so the container uses cellular while the phone stays on Wi-Fi.
Leave it empty to auto-detect the active uplink. This is the default and the right choice for most users.
Note
NAT mode is IPv4 only. If your carrier only provides IPv6, the container has no internet access in NAT mode.
In NAT mode, the Port Forwarding section maps host ports to container ports (for example 22:22). It also takes port ranges (for example 1000-2000:1000-2000) for services that need several contiguous ports.
The Panel tab shows only running containers. Tap a running container's card to open its Details Screen.
This screen shows what is going on inside the running container:
- Distribution Info: the pretty name, version, per-container uptime, hostname and IP Address (IPv4).
- Available Users: the users found in the rootfs.
- Copy Login: pick a user from the dropdown and tap this to copy a command like
su -c 'droidspaces enter [user]'. - Terminal: open an interactive terminal emulator inside the container, in the Droidspaces app itself.
- systemd menu: if the container uses systemd, a "Manage" button appears. It opens a list of all systemd services, where you can Start, Stop or Restart individual services (for example SSH, Nginx or a VNC server) from the app.
There are two ways to get a shell in a running container: the terminal built into the app, or a session in any terminal app you already use.
The quickest way to run commands without leaving the Droidspaces app.
- Ensure the container is RUNNING.
- Navigate to the Panel tab and tap the container to open its Details.
- Find the Terminal card and tap Open.
- Select the User you wish to log in as (e.g.,
rootor your default user). - An interactive terminal opens inside the app.
If you prefer Termux, ADB or another terminal emulator, you can "attach" a session from there to the container.
- Ensure the container is RUNNING.
- Open the container Details in the Panel tab.
- Select your desired user from the dropdown menu.
- Tap Copy Login. This copies a command like
su -c 'droidspaces --name=[name] enter [user]'to your clipboard. - Open your preferred terminal (e.g., Termux) and Paste the command.
- Run the command (your terminal needs root permission granted in your root manager).
Open these from the gear icon in the top right:
- Requirements: runs a 27-point diagnostic check on your kernel.
- Kernel Config: gives you a copyable
droidspaces.configsnippet for your device. - Theme Engine: AMOLED black, Material You, custom accent colors, and light and dark modes.