Back to Droid Containers 返回 Droid 容器主页

Usage Guide

使用教程

A quick tour of Droid Containers: from installing the app to pulling your first image and running your first container.

Droid 容器快速上手指南:从安装应用到拉取第一个镜像、运行第一个容器。

1. Requirements & Installation1. 设备要求与安装

2. Pull an Image2. 拉取镜像

  1. Open the Images tab and tap the pull button.
  2. 进入镜像页,点击拉取按钮。
  3. Enter an image reference, e.g. python:3.12-slim, nginx:alpine, or alpine:latest.
  4. 输入镜像引用,例如 python:3.12-slimnginx:alpinealpine:latest
  5. Watch the per-layer download progress. For private repositories, fill in your registry credentials first — they are stored locally on your device only.
  6. 查看逐层下载进度。如需拉取私有仓库镜像,请先填写仓库凭据——凭据仅保存在设备本地。

Tip: slim/alpine variants download much faster and use far less storage on phones.

提示:slim / alpine 精简版镜像下载更快,在手机上也更省存储空间。

3. Create & Start a Container3. 创建并启动容器

  1. Go to the Containers tab and create a new container from a pulled image, setting the name, entry command, and port mappings as needed.
  2. 进入容器页,基于已拉取的镜像创建新容器,按需设置名称、启动命令和端口映射。
  3. Tap start. The container runs in a user-space environment (proot) — no root required — and a foreground service keeps it alive in the background.
  4. 点击启动。容器在用户态环境(proot)中运行——无需 root——并由前台服务托管保持后台运行。
  5. You can run multiple containers at the same time, or use the Compose tab to bring up multi-service stacks from a compose file.
  6. 可以同时运行多个容器,也可以在编排页通过 compose 文件一键启动多服务组合。

Tip: keep the app’s foreground notification active. If your ROM aggressively kills background apps (MIUI, EMUI, ColorOS…), also enable autostart and lock the app in Recents.

提示:请保持应用前台通知开启。如果系统会激进杀后台(MIUI、EMUI、ColorOS 等),建议同时开启自启动权限并在最近任务中锁定应用。

4. Logs, Exec & Troubleshooting4. 日志、命令与排障

5. Feedback & Support5. 反馈与支持

Found a bug, or want a feature? Two ways to reach us:

发现问题或想要新功能?两种方式联系我们:

When reporting a problem, please include your device model, Android version, the image name, and the container log output — it makes diagnosis much faster.

反馈问题时请附上设备型号、Android 版本、镜像名称以及容器日志输出,这样能更快定位问题。