Daniel Hiller

Geek, programmer, father
I'm a software engineer with more than 20 years of work experience.
I strive to create software that is useful for people so they can do stuff that matters.

Podcast Addict - My favorite podcast app for Android
All posts
 

containerd broken - how to workaround on Fedora 39

2023-11-29

docker containerd fedora f39 

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:

# 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
Related posts:

Podcast Addict - My favorite podcast app for Android
All posts
 

Creative Commons License This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Last update on 2023-11-29. Built by dhiller using Atom (editor), Jekyll (site builder), OneDark vivid (syntax highlighting theme), Webjeda (related posts), Disqus (discussions), Github Pages (hosting), Cloudflare (DNS).