Skip to content

Commit 22ccbe4

Browse files
committed
engine/install: add RHEL 10 support
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 <[email protected]>
1 parent 09af49e commit 22ccbe4

File tree

1 file changed

+30
-1
lines changed
  • content/manuals/engine/install

1 file changed

+30
-1
lines changed

content/manuals/engine/install/rhel.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ RHEL versions:
3131

3232
- RHEL 8
3333
- RHEL 9
34+
- RHEL 10
3435

3536
### Uninstall old versions
3637

@@ -90,9 +91,37 @@ your DNF repositories) and set up the repository.
9091

9192
```console
9293
$ sudo dnf -y install dnf-plugins-core
93-
$ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce.repo
9494
```
9595

96+
Add the Docker repository. The repository URL depends on your RHEL version:
97+
98+
{{< tabs >}}
99+
{{< tab name="RHEL 10" >}}
100+
101+
For RHEL 10 and later:
102+
103+
```console
104+
$ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/10/docker-ce.repo
105+
```
106+
107+
{{< /tab >}}
108+
{{< tab name="RHEL 8 or 9" >}}
109+
110+
For RHEL 8 or 9, replace `<RHEL_VERSION>` with your major RHEL version (8 or 9):
111+
112+
```console
113+
$ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/<RHEL_VERSION>/docker-ce.repo
114+
```
115+
116+
For example, for RHEL 9:
117+
118+
```console
119+
$ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/9/docker-ce.repo
120+
```
121+
122+
{{< /tab >}}
123+
{{< /tabs >}}
124+
96125
#### Install Docker Engine
97126

98127
1. Install the Docker packages.

0 commit comments

Comments
 (0)