@@ -15,27 +15,24 @@ aliases:
15
15
download-url-base : https://download.docker.com/linux/fedora
16
16
---
17
17
18
- To get started with Docker Engine on Fedora, make sure you
19
- [ meet the prerequisites] ( #prerequisites ) , and then follow the
20
- [ installation steps] ( #installation-methods ) .
18
+ To get started with Docker Engine on Fedora:
19
+
20
+ - [ Check prerequisites] ( #prerequisites )
21
+ - [ Follow the installation steps] ( #installation-methods )
21
22
22
23
## Prerequisites
23
24
24
25
### OS requirements
25
26
26
- To install Docker Engine, you need a maintained version of one of the following
27
- Fedora versions:
27
+ Docker Engine requires a maintained version of Fedora:
28
28
29
29
- Fedora 42
30
30
- Fedora 41
31
31
32
32
### Uninstall old versions
33
33
34
- Before you can install Docker Engine, you need to uninstall any conflicting packages.
35
-
36
- Your Linux distribution may provide unofficial Docker packages, which may conflict
37
- with the official packages provided by Docker. You must uninstall these packages
38
- before you install the official version of Docker Engine.
34
+ Uninstall unofficial or conflicting Docker packages before installing Docker Engine.
35
+ Remove the following packages if present:
39
36
40
37
``` console
41
38
$ sudo dnf remove docker \
@@ -141,7 +138,7 @@ $ sudo dnf-3 config-manager --add-repo {{% param "download-url-base" %}}/docker-
141
138
{{< /tab >}}
142
139
{{< /tabs >}}
143
140
144
- 2 . Start Docker Engine.
141
+ 1 . Start Docker Engine.
145
142
146
143
``` console
147
144
$ sudo systemctl enable --now docker
@@ -151,7 +148,7 @@ $ sudo dnf-3 config-manager --add-repo {{% param "download-url-base" %}}/docker-
151
148
boot your system. If you don't want Docker to start automatically, use `sudo
152
149
systemctl start docker` instead.
153
150
154
- 3 . Verify that the installation is successful by running the ` hello-world ` image:
151
+ 1 . Verify that the installation is successful by running the ` hello-world ` image:
155
152
156
153
``` console
157
154
$ sudo docker run hello-world
@@ -180,7 +177,7 @@ download a new file each time you want to upgrade Docker Engine.
180
177
and choose your version of Fedora. Then browse to ` x86_64/stable/Packages/ `
181
178
and download the ` .rpm ` file for the Docker version you want to install.
182
179
183
- 2 . Install Docker Engine, changing the following path to the path where you downloaded
180
+ 1 . Install Docker Engine, changing the following path to the path where you downloaded
184
181
the Docker package.
185
182
186
183
``` console
@@ -190,7 +187,7 @@ download a new file each time you want to upgrade Docker Engine.
190
187
Docker is installed but not started. The ` docker ` group is created, but no
191
188
users are added to the group.
192
189
193
- 3 . Start Docker Engine.
190
+ 1 . Start Docker Engine.
194
191
195
192
``` console
196
193
$ sudo systemctl enable --now docker
@@ -200,7 +197,7 @@ download a new file each time you want to upgrade Docker Engine.
200
197
boot your system. If you don't want Docker to start automatically, use `sudo
201
198
systemctl start docker` instead.
202
199
203
- 4 . Verify that the installation is successful by running the ` hello-world ` image:
200
+ 1 . Verify that the installation is successful by running the ` hello-world ` image:
204
201
205
202
``` console
206
203
$ sudo docker run hello-world
@@ -229,7 +226,7 @@ instead of `dnf install`, and point to the new files.
229
226
$ sudo dnf remove docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-ce-rootless-extras
230
227
```
231
228
232
- 2 . Images, containers, volumes, or custom configuration files on your host
229
+ 1 . Images, containers, volumes, or custom configuration files on your host
233
230
aren't automatically removed. To delete all images, containers, and volumes:
234
231
235
232
``` console
0 commit comments