From 2173d8ecef90e9d1b4e3b88725b01416afd2bb8a Mon Sep 17 00:00:00 2001 From: Erik Cederberg Date: Mon, 2 Jun 2025 08:38:47 +0200 Subject: [PATCH] Simplify Fedora repo setup Update repo set up to use dnf 5 syntax, which is supported from Fedora 41. --- content/manuals/engine/install/fedora.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/content/manuals/engine/install/fedora.md b/content/manuals/engine/install/fedora.md index a81766f0523..ec3ec45ed16 100644 --- a/content/manuals/engine/install/fedora.md +++ b/content/manuals/engine/install/fedora.md @@ -80,12 +80,10 @@ 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. +To set up the repository, run: ```console -$ sudo dnf -y install dnf-plugins-core -$ sudo dnf-3 config-manager --add-repo {{% param "download-url-base" %}}/docker-ce.repo +$ sudo dnf config-manager addrepo --from-repofile {{% param "download-url-base" %}}/docker-ce.repo ``` #### Install Docker Engine