Source: containerd
Version: 1.4.5~ds1-2
Severity: normal
Tags: patch

Dear Maintainer,

The following bug is present in Debian 11 (Bullseye) (and should be
patched in Debian), although only users of Raspberry Pi OS (fka Raspbian)
are affected:

All releases of Raspberry Pi OS provide a buggy Docker runtime [1] which
always pulls Docker images for ARMv7 CPUs instead of ARMv6 CPUs even on
Raspberry Pi's with ARM1176JZF-S cores such as Raspberry Pi Zero and
Raspberry Pi 1 Model B(+).

For example, dash crashes with a segmentation fault when running Debian's
Docker image [2] on older Raspberry Pis like this:

docker run -ti --rm debian:bullseye /bin/sh

Details and workarounds are listed in Docker Pi-hole's issue 245 [3] and
containerd's upstream issue 37647 [1].

The bug is in containerd [1] and has been fixed upstream in v1.5 [4].
Unfortunately, Debian 11 (Bullseye) and thus Raspberry Pi OS ship the
buggy containerd 1.4.5~ds1-2.

The patch itself is very simple and will only affect Raspberry Pi ARMv6
devices [4]. Maybe you could backport this patch to Debian 11 (Bullseye)
so that Raspberry Pi OS will pick up the fixed containerd and users will
be able to use Docker on older RPi's as intended?

Ref.:
[1] https://github.com/moby/moby/issues/37647
[2] https://github.com/docker-library/official-images
[3] https://github.com/pi-hole/docker-pi-hole/issues/245
[4] 
https://github.com/containerd/containerd/commit/2055e12953bb538228d8d9fe627fa545d7cf82be

Reply via email to