Docker Community Forums

Share and learn in the Docker community.

Installing Docker on AlmaLinux 8.3


not really sure, where to report this. Hopefully, this will reach people who are interested.

Installation of Docker on AlmaLinux 8.3 (basically a successor of CentOS 8.3) doesn’t work out of the box. Instead, the following tweaks are required:

  1. Deinstall podman, buildah, etc. due to a minor dependency conflict:

sudo dnf -y remove runc

Note: This step is required on CentOS 8.3, and RHEL, too.

2.) Fix (as downloaded from by applying the following patch. (Note, that this patch would break the download URL on Fedora.)

[jwi@gitjndhost ~]$ diff -ub
---	2021-04-28 12:10:12.477498011 +0200
+++	2021-04-28 12:03:23.300011495 +0200
@@ -342,7 +342,7 @@
-		centos|rhel)
+		centos|rhel|almalinux)
 			if [ -z "$dist_version" ] && [ -r /etc/os-release ]; then
 				dist_version="$(. /etc/os-release && echo "$VERSION_ID")"
@@ -427,8 +427,8 @@
 			exit 0
-		centos|fedora|rhel)
-			yum_repo="$DOWNLOAD_URL/linux/$lsb_dist/$REPO_FILE"
+		centos|fedora|rhel|almalinux)
+			yum_repo="$DOWNLOAD_URL/linux/centos/$REPO_FILE"
 			if ! curl -Ifs "$yum_repo" > /dev/null; then
 				echo "Error: Unable to curl repository file $yum_repo, is it valid?"
 				exit 1

This post was flagged by the community and is temporarily hidden.


I think you need to report this on: GitHub - moby/moby: Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

Thanks, Martin, I have created an issue.