diff --git a/engine/install/rhel.md b/engine/install/rhel.md
index fe69146bd2..a4764b4d63 100644
--- a/engine/install/rhel.md
+++ b/engine/install/rhel.md
@@ -97,8 +97,17 @@ $ sudo yum-config-manager --add-repo {{ download-url-base }}/docker-ce.repo
#### Install Docker Engine
-1. Install the _latest version_ of Docker Engine, containerd, and Docker Compose
- or go to the next step to install a specific version:
+1. Install Docker Engine, containerd, and Docker Compose:
+
+
+
+
+
+ To install the latest version, run:
```console
$ sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
@@ -110,11 +119,11 @@ $ sudo yum-config-manager --add-repo {{ download-url-base }}/docker-ce.repo
This command installs Docker, but it doesn't start Docker. It also creates a
`docker` group, however, it doesn't add any users to the group by default.
-2. To install a _specific version_ of Docker Engine, list the available versions
- in the repo, then select and install:
+
+
- a. List and sort the versions available in your repo. This example sorts
- results by version number, highest to lowest, and is truncated:
+ To install a specific version, start by listing the available versions in
+ the repository:
```console
$ yum list docker-ce --showduplicates | sort -r
@@ -127,9 +136,12 @@ $ sudo yum-config-manager --add-repo {{ download-url-base }}/docker-ce.repo
The list returned depends on which repositories are enabled, and is specific
to your version of RHEL (indicated by the `.el8` suffix in this example).
- b. Install a specific version by its fully qualified package name, which is
- the package name (`docker-ce`) plus the version string (2nd column),
- separated by a hyphen (`-`). For example, `docker-ce-3:23.0.5-1.el8`.
+ Install a specific version by its fully qualified package name, which is
+ the package name (`docker-ce`) plus the version string (2nd column),
+ separated by a hyphen (`-`). For example, `docker-ce-3:23.0.5-1.el8`.
+
+ Replace `` with the desired version and then run the following
+ command to install:
```console
$ sudo yum install docker-ce- docker-ce-cli- containerd.io docker-buildx-plugin docker-compose-plugin
@@ -138,13 +150,17 @@ $ sudo yum-config-manager --add-repo {{ download-url-base }}/docker-ce.repo
This command installs Docker, but it doesn't start Docker. It also creates a
`docker` group, however, it doesn't add any users to the group by default.
-3. Start Docker.
+
+
+
+
+2. Start Docker.
```console
$ sudo systemctl start docker
```
-4. Verify that the Docker Engine installation is successful by running the
+3. Verify that the Docker Engine installation is successful by running the
`hello-world` image.
```console