Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions content/manuals/engine/install/rhel.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RHEL versions:

- RHEL 8
- RHEL 9
- RHEL 10

### Uninstall old versions

Expand Down Expand Up @@ -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" %}}/<RHEL_VERSION>/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.
Expand Down