From 3ac773e4c71490ec63f47739368c90832eea1467 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 10 Jul 2017 12:18:57 -0400 Subject: docker: make fragment standalone Importing the docker configuratino fragment from meta-overc, which adds options and capabilities to allow container to start out of the box. Note: There are more options that could be added here, but many of them are decision of the distro and depend on runtime configuration choices. So to balance the size of the build and leave decisions where they belong, we keep this as small as possible. Signed-off-by: Bruce Ashfield --- recipes-kernel/linux/linux-yocto/docker.cfg | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/recipes-kernel/linux/linux-yocto/docker.cfg b/recipes-kernel/linux/linux-yocto/docker.cfg index d0ebb666..4ee8e369 100644 --- a/recipes-kernel/linux/linux-yocto/docker.cfg +++ b/recipes-kernel/linux/linux-yocto/docker.cfg @@ -1 +1,12 @@ CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m +CONFIG_IP_NF_FILTER=m +CONFIG_NF_NAT=m +CONFIG_NF_CONNTRACK_IPV4=y + +CONFIG_DM_THIN_PROVISIONING=m + + +CONFIG_IP_NF_NAT=m +CONFIG_IP_NF_TARGET_MASQUERADE=m + +CONFIG_OVERLAY_FS=y -- cgit v1.2.3-54-g00ecf