Skip to content

Update Docker Documentation to Use DNF5 for Fedora Installation with … #22219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
11 changes: 10 additions & 1 deletion content/manuals/engine/install/fedora.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,16 @@ Docker from the repository.
#### Set up the repository

Install the `dnf-plugins-core` package (which provides the commands to manage
your DNF repositories) and set up the repository.
your DNF repositories) and set up the repository. Note that Fedora 41 and later
primarily use DNF5. For Fedora 40 and earlier, please use the commands below
made specifically for Fedora <=40.
Comment on lines +84 to +86
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep the "old" commands until Fedora 40 reaches EOL, that way we don't have to describe two separate ways to do this (as the installation guide already is quite complex due to many steps)


```console
$ sudo dnf -y install dnf-plugins-core
$ sudo dnf config-manager addrepo --from-repofile={{% param "download-url-base" %}}/docker-ce.repo
```

For earlier versions such as Fedora 40 or earlier that use DNF4 or DNF3:

```console
$ sudo dnf -y install dnf-plugins-core
Expand Down