Skip to content

RBT22/xiaomi_cepheus_custom_kernel_for_docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom kernel for native docker (cepheus)

Custom kernel compilation

To check the necessary features list, first install the Termux app in your phone.

Next, open Termux and download a script to check your kernel:

$ pkg install wget
$ wget https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh
$ chmod +x check-config.sh
$ sed -i '1s_.*_#!/data/data/com.termux/files/usr/bin/bash_' check-config.sh
$ sudo ./check-config.sh

You can modify kernel configuration with config_modify.sh to make modifications to the defconfig files, but always create a basis and copy the differences manually with according to the modifications not replace the hall file because it won't work.

After run the build.sh file and flash it with TWRP.

If controllers are missing

Create directories for each of the cgroup resources:

sudo mount -t tmpfs cgroup_root /sys/fs/cgroup

Running docker

Install

pkg install root-repo
pkg install docker

Running

In one pane start dockerd:

$ sudo dockerd --iptables=false

And in others panes you can run the containers:

$ sudo docker run hello-world

To use this driver give the --net=host --dns=8.8.8.8 flags when running a container.

About

Custom kernel source code for Xiaomi Mi 9 (cepheus)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.5%
  • Assembly 1.0%
  • Makefile 0.2%
  • Perl 0.1%
  • Shell 0.1%
  • Python 0.1%