Akagi201
6/17/2014 - 3:44 AM

docker-kernel.md

emerge docker时候提示内核缺少的配置

 * Messages for package app-emulation/docker-1.1.0:

 *   CONFIG_CGROUP_DEVICE:   is not set when it should be.
 *   CONFIG_CGROUP_FREEZER:  is not set when it should be.
 *   CONFIG_CGROUP_SCHED:    is not set when it should be.
 *   CONFIG_MEMCG_SWAP: is required if you wish to limit swap usage of containers
 *   CONFIG_RESOURCE_COUNTERS:   is not set when it should be.
 *   CONFIG_DEVPTS_MULTIPLE_INSTANCES:   is not set when it should be.
 *   CONFIG_IP_NF_TARGET_MASQUERADE:     is not set when it should be.
 *   CONFIG_NETFILTER_XT_MATCH_ADDRTYPE:     is not set when it should be.
 *   CONFIG_NF_NAT:  is not set when it should be.
 *   CONFIG_NF_NAT_NEEDED:   is not set when it should be.
 *   CONFIG_DM_THIN_PROVISIONING:    is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.

there are two methods available to you; the first that you should've already run into, is that the app-emulation/docker ebuild should have told you whatever kernel configs you're missing 13:06 tianon: Akagi201: the second is to use the contrib/check-config.sh script in our repo