meta-digi-containers is a sub-layer of meta-digi that adds Digi-specific support for container generation, packaging, and lifecycle management.

Layer features

The main features of the layer are:

  • Recipe for the Container Manager, the supervisor daemon for your containers.

  • Image recipe for a basic system with all required support to run and manage containers.

  • Recipe to generate a Digi Container Package (DCP) with your custom contents.

  • Script to generate a Digi Container Package (DCP) out of an existing LXC or OCI (Podman/Docker) container.

Layer requirements

meta-digi-containers depends on layers:

  • meta-virtualization

  • meta-openembedded/meta-filesystems

Configure your project

  1. Add the required layers in your build environment with:

    $ bitbake-layers add-layer \
        /usr/local/dey-5.0/sources/meta-digi/meta-digi-containers \
        /usr/local/dey-5.0/sources/meta-virtualization \
        /usr/local/dey-5.0/sources/meta-openembedded/meta-filesystems
  2. Include virtualization in your project by adding this to your conf/local.conf:

    conf/local.conf
    DISTRO_FEATURES:append = " virtualization"
    Note the required white space when appending a value to an array variable using the :append override syntax.

Image recipes

The layer includes two image recipes:

dey-image-containers

Use recipe dey-image-containers to generate a minimal root file system with the Container Manager and everything it requires to run and manage containers.

You can find a pre-compiled image of this recipe for the ConnectCore 95 Development Kit. Refer to Get started with containers if you want to install this image on your device.

dey-image-dcp

Use recipe dey-image-dcp to generate a Digi Container Package (DCP) with the contents of your choice.