@@ -18,16 +18,16 @@ aliases:
18
18
download-url-base : https://download.docker.com/linux/rhel
19
19
---
20
20
21
- To get started with Docker Engine on RHEL, make sure you
22
- [ meet the prerequisites] ( #prerequisites ) , and then follow the
23
- [ installation steps] ( #installation-methods ) .
21
+ To get started with Docker Engine on RHEL:
22
+
23
+ - [ Check prerequisites] ( #prerequisites )
24
+ - [ Follow the installation steps] ( #installation-methods )
24
25
25
26
## Prerequisites
26
27
27
28
### OS requirements
28
29
29
- To install Docker Engine, you need a maintained version of one of the following
30
- RHEL versions:
30
+ Docker Engine requires a maintained version of RHEL:
31
31
32
32
- RHEL 8
33
33
- RHEL 9
@@ -144,7 +144,7 @@ $ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
144
144
{{< /tab >}}
145
145
{{< /tabs >}}
146
146
147
- 2 . Start Docker Engine.
147
+ 1 . Start Docker Engine.
148
148
149
149
``` console
150
150
$ sudo systemctl enable --now docker
@@ -154,7 +154,7 @@ $ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
154
154
boot your system. If you don't want Docker to start automatically, use `sudo
155
155
systemctl start docker` instead.
156
156
157
- 3 . Verify that the installation is successful by running the ` hello-world ` image:
157
+ 1 . Verify that the installation is successful by running the ` hello-world ` image:
158
158
159
159
``` console
160
160
$ sudo docker run hello-world
@@ -181,12 +181,12 @@ download a new file each time you want to upgrade Docker Engine.
181
181
<!-- markdownlint-disable-next-line -->
182
182
1 . Go to [ {{% param "download-url-base" %}}/] ({{% param "download-url-base" %}}/).
183
183
184
- 2 . Select your RHEL version in the list.
184
+ 1 . Select your RHEL version in the list.
185
185
186
- 3 . Select the applicable architecture (` x86_64 ` , ` aarch64 ` , or ` s390x ` ), and
186
+ 1 . Select the applicable architecture (` x86_64 ` , ` aarch64 ` , or ` s390x ` ), and
187
187
then go to ` stable/Packages/ ` .
188
188
189
- 4 . Download the following ` rpm ` files for the Docker Engine, CLI, containerd,
189
+ 1 . Download the following ` rpm ` files for the Docker Engine, CLI, containerd,
190
190
and Docker Compose packages:
191
191
192
192
- ` containerd.io-<version>.<arch>.rpm `
@@ -195,7 +195,7 @@ download a new file each time you want to upgrade Docker Engine.
195
195
- ` docker-buildx-plugin-<version>.<arch>.rpm `
196
196
- ` docker-compose-plugin-<version>.<arch>.rpm `
197
197
198
- 5 . Install Docker Engine, changing the following path to the path where you downloaded
198
+ 1 . Install Docker Engine, changing the following path to the path where you downloaded
199
199
the packages.
200
200
201
201
``` console
@@ -209,7 +209,7 @@ download a new file each time you want to upgrade Docker Engine.
209
209
Docker is installed but not started. The ` docker ` group is created, but no
210
210
users are added to the group.
211
211
212
- 6 . Start Docker Engine.
212
+ 1 . Start Docker Engine.
213
213
214
214
``` console
215
215
$ sudo systemctl enable --now docker
@@ -219,7 +219,7 @@ download a new file each time you want to upgrade Docker Engine.
219
219
boot your system. If you don't want Docker to start automatically, use `sudo
220
220
systemctl start docker` instead.
221
221
222
- 7 . Verify that the installation is successful by running the ` hello-world ` image:
222
+ 1 . Verify that the installation is successful by running the ` hello-world ` image:
223
223
224
224
``` console
225
225
$ sudo docker run hello-world
@@ -248,7 +248,7 @@ instead of `dnf install`, and point to the new files.
248
248
$ sudo dnf remove docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-ce-rootless-extras
249
249
```
250
250
251
- 2 . Images, containers, volumes, or custom configuration files on your host
251
+ 1 . Images, containers, volumes, or custom configuration files on your host
252
252
aren't automatically removed. To delete all images, containers, and volumes:
253
253
254
254
``` console
0 commit comments