[linux-yocto] [PATCH] features/virtualization: add docker support

Bruce Ashfield bruce.ashfield at windriver.com
Thu May 10 04:58:40 PDT 2018


meta virtualization is already carrying a fragment for docker
enablement, which is identical to these ones .. so I assume
that is the source for them.

Is there a reason that the meta-virt variant isn't working
in your configuration ?

Bruce

On 2018-05-10 2:37 AM, Dengke Du wrote:
> Add docker support.
> 
> Signed-off-by: Dengke Du <dengke.du at windriver.com>
> ---
>   features/virtualization/docker.cfg | 12 ++++++++++++
>   features/virtualization/docker.scc |  4 ++++
>   2 files changed, 16 insertions(+)
>   create mode 100644 features/virtualization/docker.cfg
>   create mode 100644 features/virtualization/docker.scc
> 
> diff --git a/features/virtualization/docker.cfg b/features/virtualization/docker.cfg
> new file mode 100644
> index 0000000..4ee8e36
> --- /dev/null
> +++ b/features/virtualization/docker.cfg
> @@ -0,0 +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
> diff --git a/features/virtualization/docker.scc b/features/virtualization/docker.scc
> new file mode 100644
> index 0000000..4cca1dd
> --- /dev/null
> +++ b/features/virtualization/docker.scc
> @@ -0,0 +1,4 @@
> +define KFEATURE_DESCRIPTION "Enable Extra Features needed by Docker"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf non-hardware docker.cfg
> 



More information about the linux-yocto mailing list