Skip to content
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

Fix for Docker installation tutorial not working with DNF5 #22371

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Angxddeep
Copy link

@Angxddeep Angxddeep commented Apr 4, 2025

Description

Current command

 sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo

Which results on the following when using DNF5 (I'm using Fedora 41):

Unknown argument "--add-repo" for command "config-manager". Add "--help" for more information about the arguments.

This happens because DNF5 config-manager no longer utilizes the argument --add-repo, instead it uses addrepo. The following is the new correct syntax:

sudo dnf config-manager addrepo --from-repofile=https://download.docker.com/linux/fedora/docker-ce.repo

Closes #21543

@github-actions github-actions bot added area/engine Issue affects Docker engine/daemon area/install Relates to installing a product labels Apr 4, 2025
Copy link

netlify bot commented Apr 4, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 6296163
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/67f05f5b1f03fb0008ae26f9
😎 Deploy Preview https://deploy-preview-22371--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Angxddeep Angxddeep changed the title Docker installation tutorial does not work with DNF5 Fix for Docker installation tutorial not working with DNF5 Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/engine Issue affects Docker engine/daemon area/install Relates to installing a product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant