Ilya114 / lxc_vayu

Running LXC containers on POCO X3 Pro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LXC containers on POCO X3 Pro

About LXC

Linux Containers (LXC) is an operating-system-level virtualization method for running multiple isolated Linux systems (containers) on a control host using a single Linux kernel (Wikipedia). We can launch much Linux systems on Android without chroot or proot using LXC. This repo contains instructions how to install and use LXC containers on POCO X3 Pro.

Current status

We can`t use LXC newer than 3.1.0, 3.1.0 currently available in Termux repo.

  • Create and booting containers
  • Internet
  • Hardware acceleration
  • termux-x11
  • snapd

Notes: We can create users but need to fix sudo and set HOME everytime. lxc-attach working correctly only with --clear-env otherwise you won't be able to run any programs. lxc-stop working only with --kill, otherwise command will stuck.

Installation instructions

Credits

  • ppoffice for a list of required cgroup subsystems to be mounted, for a way to create containers without checking rootfs, for the way to use Termux programs in adb shell, for the need kernel configs in the his guide

About

Running LXC containers on POCO X3 Pro


Languages

Language:Shell 100.0%