From 9bdc4f52ec0e4584f8a609f3694c8f5d86dc185b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Wed, 17 Sep 2025 14:21:10 +0200 Subject: [PATCH] engine/install: add RHEL 10 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add support for RHEL 10 to Docker Engine installation documentation and update the repository setup instructions to use version-specific repository URLs for older RHEL versions. Signed-off-by: Paweł Gronowski --- content/manuals/engine/install/rhel.md | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/content/manuals/engine/install/rhel.md b/content/manuals/engine/install/rhel.md index 0f3c4c60e182..0b24d750ade6 100644 --- a/content/manuals/engine/install/rhel.md +++ b/content/manuals/engine/install/rhel.md @@ -31,6 +31,7 @@ RHEL versions: - RHEL 8 - RHEL 9 +- RHEL 10 ### Uninstall old versions @@ -90,9 +91,37 @@ your DNF repositories) and set up the repository. ```console $ sudo dnf -y install dnf-plugins-core +``` + +Add the Docker repository. The repository URL depends on your RHEL version: + +{{< tabs >}} +{{< tab name="RHEL 10" >}} + +For RHEL 10 and later: + +```console $ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce.repo ``` +{{< /tab >}} +{{< tab name="RHEL 8 or 9" >}} + +For RHEL 8 or 9, use + +```console +$ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}//docker-ce.repo +``` + +For example, for RHEL 9: + +```console +$ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/9/docker-ce.repo +``` + +{{< /tab >}} +{{< /tabs >}} + #### Install Docker Engine 1. Install the Docker packages.