Search code examples
dockerlinux-kernelconfigkernel-modulecgroups

How can I modify the config file (/proc/config.gz) in linux (Android)?


EDITED: I found that We cannot edit this file, We have to recompile the kernel I am installing docker on Android. there are some configurations related to cgroup which are not enabled. I could find it by extracting the file /proc/config.gz. now it seems i have to modify the file. it seems we can write some kernel modules for it or i have to recompile the kernel. I am not familiar with low level issues so please help me through this problem. Thanks

EDITED based on the file these two parts seems need to be enabled.

#CONFIG_CGROUP_DEVICE is not set

#CONFIG_CGROUP_PIDS is not set


Solution

  • How can I modify the config file (/proc/config.gz) in linux (Android)?

    You would have to recompile your own kernel with different configuration and modify your operating system by updating the kernel.

    /proc/config.gz is a compressed copy of the kernel configuration that was used when the kernel was build. To modify kernel configuration you have to recompile the kernel.