Hessamaldin Mohammadi <
hm...@njit.edu> 於 2020年6月3日 週三 下午11:39寫道:
>
> Hello all,
> I am working on a project to install and use docker on android. after installing docker binaries i tried to start it by "dockerd". but there is an error "Device CgroupIs not mounted". I got a few scripts and tried to mount cGoroup. but as the config.gz says
> # CONFIG_CGROUP_PIDS is not set
> # CONFIG_CGROUP_DEVICE is not set"
> So i decided to write modules to enable these configurations, but I really don't know if i am in right way or not. How can i enable these parameters for android kernel or how to write proper modules for it?
These configs are not used by Android so we didn't enable them.
Refer to:
https://android.googlesource.com/kernel/configs/
They are not listed in either android-base.config or android-recommended.config.
You have to rebuild the kernel to enable them if you need them.
See
https://www.android-x86.org/documentation/customize_kernel.html
> Also i found a small config command for GRUB to enable Cgroup. I added at the boot time, but nothing changed.
>
> Another issue is i cannot find the systemd and systemctl. to start services we need them,
Android doesn't use that.
You have to learn how to write an Android service
if you want to work with Android.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org