Add a simple option for enabling all the requirements for Docker to run.
- Create a folder inside your kernel source tree, for example
utils
, then place the Kconfig in there. - Add a line into the root Kconfig:
source "utils/Kconfig"
.
Sample final Kconfig:
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "Linux/$ARCH $KERNELVERSION Kernel Configuration"
config SRCARCH
string
option env="SRCARCH"
source "utils/Kconfig"
source "arch/$SRCARCH/Kconfig"
Now enable the Docker support option:
Utilities --->
[*] Docker support
And you should be good to go. Compile the kernel, install, reboot, enjoy.
List created using information from the Gentoo Docker Project.