Closed ripps818 closed 6 years ago
Okay, apparently I was messing around with the kernels too much my system woudln't boot anymore. I did a quick reinstall of the OS and then reinstalled the 4.14 kernel with the missing flags enabled, and docker started right up.
@ripps818 Ok, I was making a patch to enable CGROUP flags. Few flags blocks boot successfully, I tried to enable most of them and other patches, but it may not help. Are you going to make a patch?
@ripps818, finally I made two patches to enable kernel features necessary for LXC and Docker. I'ven't to run Docket yet, but many kernel features are enabled except CONFIG_CGROUP_PIDS since it fails to boot for some reason. Do you have any chance to test these patches or compare with yours?
[1] https://github.com/tobetter/linux/commit/08384d67803c65068e415756a2284546fc141ed1 [2] https://github.com/tobetter/linux/commit/de8488ec907c24929ecfe4e93c9aa90e2b05caeb
I simply switched the following in .config:
CONFIG_CGROUP_CPUACCT=y CONFIG_CGROUP_DEVICE=y CONFIG_CGROUP_FREEZER=y CONFIG_CGROUP_SCHED=y CONFIG_CPUSETS=y CONFIG_MEMCG=y
And then just kept any requested flags as the default option. Sorry, I'm not terribly familiar with git.
@ripps818 No worries, my patches are merged. https://github.com/hardkernel/linux/commit/b3ce010128eed16b886b4194cae6e3cca896ba75 https://github.com/hardkernel/linux/commit/2622e2488eda194a56f0da189d74ebd3d2fb5ba9
After following the directions in the wiki and rebooting, it seems my docker daemon failed to start. After trying to start it manually, I get this error:
It seems that a bunch of cgroup features are no longer enabled in the .config that are required for docker to function. Seeing that docker worked in the previous 4.9 ubuntu kernel, this is clearly a misconfiguration or a regression.
Just to be sure, I ran the docker check-config.sh and I got this output:
I'm currently rebuilding the kernel with the the required features enabled. I'll post an update if docker works.