Skip to content

Commit 91baa8d

Browse files
authored
docs: update dnf repo installation commands
dnf5 is used by default since Fedora 41: https://fedoraproject.org/wiki/Releases/41/ChangeSet#Switch_to_dnf5 it comes with `config-manager` by default, albeit with slightly different cli arguments.
1 parent 1b74857 commit 91baa8d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

content/manuals/engine/install/fedora.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,8 @@ Docker from the repository.
8383

8484
#### Set up the repository
8585

86-
Install the `dnf-plugins-core` package (which provides the commands to manage
87-
your DNF repositories) and set up the repository.
88-
8986
```console
90-
$ sudo dnf -y install dnf-plugins-core
91-
$ sudo dnf-3 config-manager --add-repo {{% param "download-url-base" %}}/docker-ce.repo
87+
$ sudo dnf config-manager addrepo --from-repofile {{% param "download-url-base" %}}/docker-ce.repo
9288
```
9389

9490
#### Install Docker Engine

0 commit comments

Comments
 (0)