meta-virtualization/recipes-extended
Bruce Ashfield b164962a6e images: add container host image
This image is a reference implementation to create a target platform
capable of running containers. This includes kernel configuration,
container runtimes, tools and other support applications.

The packages to install are largely described in the packagegroups
that are part of this layer. packagegroups are preferred as they can
easily be used to create similar images of different composition.
The recipes for the packages have their list of build and runtime
dependencies, as such, those dependencies are not part of the image
install or listed explicitly in the packgroups.

CNCF areas that have choices are described by VIRTUAL-RUNTIME
variables. These variables can be set individually (in a distro,
layer or local configuration file), or can be set by the setting of
a "CONTAINER_PROFILE". It is possible to select incompatible
packages if setting the VIRTUAL-RUNTIME variables individually.
container profiles have been created as valid / tested stacks of the
components in meta-virtualization.

The contents of the image are selected by testing the VIRTUAL-RUNTIME
values and mapping them to packagegroups.

The possible VIRTUAL-RUNTIME variables (and their values) are
currently:

 engines: docker/docker-moby, virtual-containerd, cri-o, podman, lxc
    VIRTUAL-RUNTIME_container_engine ??= "podman"
 runtime: runc, crun, runv, runx
    VIRTUAL-RUNTIME_container_runtime ??= "virtual-runc"
 networking: cni, netavark
    VIRTUAL-RUNTIME_container_networking ??= "cni"
 dns: cni, aardvark-dns
    VIRTUAL-RUNTIME_container_dns ??= "cni"
 orchestration: k8s, k3s
    VIRTUAL-RUNTIME_container_orchestration ??= "k3s"
 Kubernetes terminology "components"
   VIRTUAL-RUNTIME_cri ??= "virtual-containerd"
   VIRTUAL-RUNTIME_cni ??= "cni"

To select a CONTAINER_PROFILE, set the variable in your local,
distro or layer configuration:

  CONTAINER_PROFILE="<your value>"

The possible values for CONTAINER_PROFILE can be found in
conf/distro/include in the format of: meta-virt-container-<profile>.inc

    default (docker)
    containerd
    podman
    docker
    k3s-host
    k3s-node

This image will eventually be modified more as something that
can easily be inherited and re-used, but for now, it is a capture
of the best practices in a container host image.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
..
ceph ceph: fix gcc14 and 19.0.0 packaging issues 2024-07-22 22:14:24 +00:00
cloud-init cloud-init: update to 24.1.1 2024-03-15 17:17:20 +00:00
dev86 dev86: ignore various issues fatal with gcc-14 2024-05-29 13:23:41 +00:00
diod diod: convert WORKDIR references to UNPACKDIR 2024-05-29 13:23:51 +00:00
fuse-overlayfs fuse-overlayfs: Update to v1.9 2022-07-15 17:13:35 -04:00
images images: add container host image 2024-11-15 19:50:00 +00:00
iptables iptables: add kernel-module-xt-nat to RRECOMMENDS 2023-09-15 17:30:40 +00:00
ipxe recipes/classes/scripts: Drop SRCPV usage 2023-08-24 01:38:21 +00:00
irqbalance recipes/classes/scripts: Drop SRCPV usage 2023-08-24 01:38:21 +00:00
kvmtool kvmtool: update -tip 2024-03-15 17:17:20 +00:00
libibverbs global: update licence values to SPDX values 2022-02-18 13:07:10 -05:00
libvirt libvirt: correct direction creation for sysusers.d 2024-10-02 13:32:54 +00:00
libvmi libvmi: update -tip 2024-03-15 17:17:20 +00:00
nagios k3s, kubernetes, nagios-nrpe: fix Upstream-Status formatting 2023-05-08 18:41:38 -04:00
oath treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
rootlesskit rootlesskit: introduce linux-native fakeroo using user namespaces 2024-06-04 17:44:50 +00:00
seabios treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
upx upx: update to -tip and return to indivdual fetches 2024-11-01 23:59:13 -04:00
uxen uxen: convert WORKDIR references to UNPACKDIR 2024-05-29 13:23:51 +00:00
vgabios treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
vhost-device vhost-device-gpio: only enable if meta-clang exists 2023-08-24 01:37:32 +00:00
virt-manager virt-manager: update RDEPENDS for virt-manager-install 2024-09-03 02:09:16 +00:00
virt-viewer recipes/classes/scripts: Drop SRCPV usage 2023-08-24 01:38:21 +00:00
virt-what virt-what: add new recipe 2022-04-07 17:48:39 -04:00
virtiofsd virtiofsd: add seccomp to REQUIRED_DISTRO_FEATURES 2023-09-04 03:05:40 +00:00
xen xen: make qemu-system-* configurable 2024-11-15 19:50:00 +00:00
xvisor recipes/classes/scripts: Drop SRCPV usage 2023-08-24 01:38:21 +00:00