Skip to content

5kind/termux-container

Repository files navigation

Termux Container Service

Version _time_stamp_ _time_stamp_ _time_stamp_
Mount Cgroup and Run Termux LXC & Docker

Also supports KSU

Usage

  1. Flash a kernel that support lxc & docker.
  2. Install lxc & docker in termux app.
  3. Set your lxc container config lxc.start.auto = 1.
  4. lxc-autostart & dockerd will start automatically.

Optional

Modify scripts in the /data/adb/service.d to customize the behavior of the service.

  1. Modify PASSWORD in /data/adb/service.d/locksettings-verify.sh to automatically decrypt /data partitions;
  2. Modify SETUP_DOCKER EXEC_DOCKERD in /data/adb/service.d/start-container.sh to customize the behavior of the docker service;
  3. Modify NO_START_STOP in /data/adb/service.d/auto-start-stop.sh to auto start/stop android system;
  4. Copy & modify other scripts in /data/adb/service.d ./service.d)(copy from ./service.d by yourself) to customize the behavior of those service.

About

Setup cgroups & Run termux containers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages