Skip to content

Build Poco X3 nfc kernel with Github Actions and docker support

Notifications You must be signed in to change notification settings

daoudeddy/surya-docker-kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kernel-Actions CI

Build Poco X3 nfc kernel with Github Actions, this Kernel is based on Android 13 LineageOS 20 source code

Adding docker support on Android Kernel

You can find the Kernel Image in the release tab

Docker can be run on Termux by running the following commands

pkg install root-repo
pkg install docker tsu

Preparing docker environment

sudo mount -t tmpfs -o mode=755 tmpfs /sys/fs/cgroup
sudo mkdir -p /sys/fs/cgroup/devices
sudo mount -t cgroup -o devices cgroup /sys/fs/cgroup/devices

These commands need to be exectuded after every reboot

Running dockerd

sudo dockerd &

Pulling and running docker container

sudo docker pull agners/archlinuxarm-arm64-v8
sudo docker run -ti --net="host" --dns="8.8.8.8" archlinuxarm-arm64-v8

Using Termux Services

Running dockerd as a Termux service:

Install termux-services:

pkg install termux-services

and then restart termux so that the service-daemon is started.

Create dockerd service:

mkdir -p $PREFIX/var/service/dockerd/log
ln -sf $PREFIX/share/termux-services/svlogger $PREFIX/var/service/dockerd/log/run
wget https://raw.githubusercontent.com/daoudeddy/surya-docker-kernel/main/run -O $PREFIX/var/service/dockerd/run
chmod +x $PREFIX/var/service/dockerd/run

Run dockerd service

sv up dockerd

Stop dockerd servive

sv down dockerd $$ sudo pkill dockerd

More info original post

About

Build Poco X3 nfc kernel with Github Actions and docker support

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages