Installing containerd.io on Rocky Linux 9

Following the DigitalOcean guide on how to install Docker on Rocky Linux, I got the folowing error during the update of dnf:

Depsolve Error occurred:
 Problem:package buildah-1:1.26.2-1.el9_0.x86_64 requires runc >= 1.0.0-26, but none of the providers can be installed

This happens after having added the docker-ce repository;

dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

To fix this, simply uninstall the packages podman buildah and runc and run the update again:

dnf uninstall -y podman buildah runc
...
dnf update