This layer enables the clear containers runtime (cc-oci-runtime) for Docker: Details about the Clear Containers project can be found at: https://github.com/01org/cc-oci-runtime https://clearlinux.org/features/intel%C2%AE-clear-containers Dependencies ============ This layer depends on: URL: git://git.yoctoproject.org/poky.git layers: meta meta-poky meta-yocto-bsp branch: pyro URL: git://git.openembedded.org/meta-openembedded layers: meta-oe meta-python meta-networking meta-filesystems branch: pyro URI: git://git.yoctoproject.org/meta-virtualization branch: master Patches ======= Please submit any patches for meta-intel-clear-containers layer to the meta-intel mailing list (meta-intel@yoctoproject.org): Table of Contents ================= I. Adding the meta-intel-clear-containers layer to your build II. Misc I. Adding the meta-intel-clear-containers layer to your build ================================================= The clear containers runtime can be added to your images with the cc-oci-runtime recipe. Example (add to conf/local.conf): IMAGE_INSTALL_append += " cc-oci-runtime " In order to use this layer, you need to make the build system aware of it. Assuming the meta-intel-clear-containers layer exists at the top-level of your yocto build tree, you can add it to the build system by adding the location of the meta-intel-clear-containers layer to bblayers.conf, along with any other layers needed. e.g.: BBLAYERS ?= " \ /path/to/yocto/meta \ /path/to/yocto/meta-poky \ /path/to/yocto/meta-yocto-bsp \ /path/to/yocto/meta-openembedded/meta-oe \ /path/to/yocto/meta-openembedded/meta-python \ /path/to/yocto/meta-openembedded/meta-networking \ /path/to/yocto/meta-openembedded/meta-filesystems \ /path/to/yocto/meta-virtualization \ /path/to/yocto/meta-intel-clear-containers \ " II. Misc ======== * Clear Containers depends on the following kernel module. It will be automatically enabled for 3.9.* and 3.10.* kernels CONFIG_VHOST_NET=m * To modify the amount of memory available to QEMU. Add the following variable to your conf/local.conf QEMU_CC_MEM = "2G,slots=2,maxmem=2G" * When building docker with clear containers support, the default docker runtime will be set to cor (cc-oci-runtime). To change the default docker runtime, please modify the docker.service file and restart docker. Example for runc (docker.service): ExecStart=/usr/bin/dockerd -D --add-runtime cor=/usr/bin/cc-oci-runtime.sh --default-runtime=runc -H fd://