containerd-1.6.23-1
is broken on Fedora 39. This causes running containers with docker
to fail. I normally use podman
but for some tasks I rely on docker. I.e. when testing prow
jobs locally, I use phaino
, which seems to use containerd under the hood.
The issue itself is tracked in GitHub CoreOS tracker and Bugzilla. From there you quickly get to the workaround, which is downgrading containerd to containerd-1.6.19-1.fc39
.
Here’s how to do it:
dnf localinstall
of the rpm# install dnf versionlock plugin
dnf install 'dnf-command(versionlock)'
# get the rpm
cd /tmp
wget https://kojipkgs.fedoraproject.org//packages/containerd/1.6.19/1.fc39/x86_64/containerd-1.6.19-1.fc39.x86_64.rpm
# install it
dnf localinstall containerd-1.6.19-1.fc39.x86_64.rpm
# lock the version
dnf versionlock containerd
# restart docker daemon
systemctl restart docker