Having trouble installing Docker

Completely new to Fedora - so unfamiliar with dnf/rpm-ostree. Not even 100% sure what rpm-ostree is.... Anyways - https://docs.docker.com/engine/install/fedora/ sudo dnf -y install dnf-plugins-core appears to install without any issues, but sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo doesn't recognize config-manager.
error: unrecognized subcommand 'config-manager'

Usage: yum [OPTIONS] <COMMAND>
error: unrecognized subcommand 'config-manager'

Usage: yum [OPTIONS] <COMMAND>
If I run dnf install dng-plugins-core again, it seems like it's requested but not installed based off the message?
sudo dnf install dnf-plugins-core
Note: This system is image (rpm-ostree) based.
error: Package/capability 'dnf-plugins-core' is already requested
sudo dnf install dnf-plugins-core
Note: This system is image (rpm-ostree) based.
error: Package/capability 'dnf-plugins-core' is already requested
any thoughts?
Docker Documentation
Install Docker Engine on Fedora
Learn how to install Docker Engine on Fedora. These instructions cover the different installation methods, how to uninstall, and next steps.
Solution:
Yup in the ticket there were docker instructions that needed to be changed slightly to work with podman. So far podman seems to be much faster than docker from my testing. If you are looking at a development machine though, Aurora or Bluefin are worth checking out. Those images come with both podman and docker preinstalled. It also has things like preinstalled virtual-machine manager etc with instructions on using homebrew
Jump to solution
5 Replies
wolfyreload
wolfyreload6mo ago
Podman comes preinstalled on Bazzite. you can pretty much replace the keyword docker with podman and docker-compose with podman-compose you sometimes have to change anything using volumes to have a :rw or :Z at the end though Have a look at this ticket for reference https://github.com/ublue-os/bazzite/issues/1124#issuecomment-2110645879
pastrami
pastrami6mo ago
I’ll look into it; thank you. I’ve considered trying podman in the past for work but never pulled the trigger. This will be a good opportunity. Curious though, if you know anything about the “why”/errors - for my own knowledge. Will/could I have similar issues with other packages in the future? Since I got the error in prereq packages, not docker itself (And sorry if that’s what the ticket ref was for, driving so haven’t read through the issue)
Solution
wolfyreload
wolfyreload6mo ago
Yup in the ticket there were docker instructions that needed to be changed slightly to work with podman. So far podman seems to be much faster than docker from my testing. If you are looking at a development machine though, Aurora or Bluefin are worth checking out. Those images come with both podman and docker preinstalled. It also has things like preinstalled virtual-machine manager etc with instructions on using homebrew
pastrami
pastrami6mo ago
I’m not sure I am with this machine, it’s mostly for gaming but casual dev. I don’t do much dev in my free time after work much these days anymore lol Help and info is much appreciated !
wolfyreload
wolfyreload6mo ago
You are welcome! Enjoy your gaming and some dev when you feel like it 🙂
Want results from more Discord servers?
Add your server