meta-virtualization/recipes-containers/containerd
Bruce Ashfield 13ad3d54b6 containerd: update to v2.1.4
Bumping containerd to version v2.1.4-6-g30bd62aac, which comprises the following commits:

    74b0505eb ci: bump Go 1.23.12, 1.24.6
    3c174cf64 fix: create bootstrap.json with 0644 permission
    5ef6ea747 sys: fix pidfd leak in UnshareAfterEnterUserns
    112e41363 Add release notes for v2.1.4
    add2dcf86 Ensure fetcher always closes body and properly calls release
    34a1cb1dd fix(dockerFetcher): resolve deadlock issue in dockerFetcher open
    82c4d6875 ci: bump Go 1.23.11, 1.24.5
    6cc2a8d77 Fix intermittent test failures on Windows CIs
    6adc69312 Remove WS2025 from CIs due to regression
    8d194c19f erofs-snapshotter: make IMMUTABLE_FL optional
    2df7175d7 client/New: Don't unlazy the gRPC connection implicitly
    02298e1a0 cri:fix containerd panic when can't find sandbox extension
    4902adb92 update go-md2man binary to v2.0.7
    583133e71 erofs-differ: fix filesystem UUID for tar-converted layers
    57db13d50 Amend runtime handler test for stable order
    d822c9048 CRI: Stable sort for RuntimeHandlers
    a2fd70639 Test showing RuntimeHandlers in Status() are unordered
    b74268f86 bugfix:close container io when runtime create failed

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-08-21 12:52:09 -04:00
..
containerd packagegroups: add iproute, iptables and tini 2024-11-15 19:50:00 +00:00
files treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
containerd_git.bb containerd: update to v2.1.4 2025-08-21 12:52:09 -04:00
README.md containerd: initial README 2021-03-16 09:30:48 -04:00

containerd: sample image fetch and exec commands

root@qemux86-64:~# ctr images list
REF                             TYPE                                                      DIGEST                                                                  SIZE     PLATFORMS
docker.io/calico/node:v3.11.2   application/vnd.docker.distribution.manifest.list.v2+json sha256:887bcd551668cccae1fbfd6d2eb0f635ec37bb4cf599e1169989aa49dfac5b57 84.8 MiB linux/amd64,linux/arm64,linux/ppc64le
docker.io/library/alpine:latest application/vnd.docker.distribution.manifest.list.v2+json sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 2.7 MiB  linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,l

root@qemux86-64:~# ctr image pull docker.io/library/alpine:latest
docker.io/library/alpine:latest:                                                  resolved       |++++++++++++++++++++++++++++++++++++++|
index-sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a:    exists         |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:d7342993700f8cd7aba8496c2d0e57be0666e80b4c441925fc6f9361fa81d10e: exists         |++++++++++++++++++++++++++++++++++++++|
layer-sha256:188c0c94c7c576fff0792aca7ec73d67a2f7f4cb3a6e53a84559337260b36964:    exists         |++++++++++++++++++++++++++++++++++++++|
config-sha256:d6e46aa2470df1d32034c6707c8041158b652f38d2a9ae3d7ad7e7532d22ebe0:   exists         |++++++++++++++++++++++++++++++++++++++|
elapsed: 6.5 s                                                                    total:   0.0 B (0.0 B/s)
unpacking linux/amd64 sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a...


root@qemux86-64:~# ctr run -t docker.io/library/alpine:latest dtest /bin/sh
/ # uname -a
Linux qemux86-64 5.8.13-yocto-standard #1 SMP PREEMPT Tue Oct 6 12:23:29 UTC 2020 x86_64 Linux
/ #


 # root@qemux86-64:~# ctr c list
CONTAINER    IMAGE                              RUNTIME
dtest        docker.io/library/alpine:latest    io.containerd.runc.v2

root@qemux86-64:~# ctr c delete dtest