Here we go again, a few years later, still the same issues with installing docker

Docker has no release for Fedora Server 38, get the 37 rpms.
And Fedora has not changed the Moby Dick confusion either.

ok so getting RPM’s from here

https://download.docker.com/linux/fedora/37/x86_64/stable/Packages/

[admin@fedora ~]$ sudo dnf install https://download.docker.com/linux/fedora/37/x86_64/stable/Packages/containerd.io-1.6.9-3.1.fc37.x86_64.rpm
Last metadata expiration check: 0:12:29 ago on Tue 25 Apr 2023 08:24:04 CEST.
containerd.io-1.6.9-3.1.fc37.x86_64.rpm                                                                                                      16 MB/s |  32 MB     00:02    
Dependencies resolved.

Works

[admin@fedora ~]$ sudo dnf install https://download.docker.com/linux/fedora/37/x86_64/stable/Packages/docker-ce-23.0.4-1.fc37.x86_64.rpm
Last metadata expiration check: 0:13:26 ago on Tue 25 Apr 2023 08:24:04 CEST.
docker-ce-23.0.4-1.fc37.x86_64.rpm                                                                                                           19 MB/s |  23 MB     00:01    
Error: 
 Problem: conflicting requests
  - nothing provides docker-ce-cli needed by docker-ce-3:23.0.4-1.fc37.x86_64
  - nothing provides docker-ce-rootless-extras needed by docker-ce-3:23.0.4-1.fc37.x86_64
(try to add '--skip-broken' to skip uninstallable packages)

Why the errors?

One would think this management would have improved since my last similar problems very long time ago, but it seems this is a stagnant topic.

1 Like

Fedora embraces and integrates Podman, not docker. Check fedoramagazine.org, there is plenty of articles about docker and podman.

You are not satisfying the dependencies of a third party rpm package. Maybe you need to ask the third party how to get them. If you would be nice and rant less, I’d be happy to provide a link to a native Fedora guide that mentions a docker repo, but….

1 Like

I am nice, I just do not see any improvements over time.

The reason for installing docker separately is because I intend to use Portainer.

I have been reading a few different guides, and among those are

All fail at one or another step.

Portainer as such has, obviously, no dedicated Fedora Guide, since it assumes you have docker running. ( Install Portainer CE with Docker on Linux - Portainer Documentation )

I must admit though that https://podman-desktop.io looks interesting.

Then again this is for my SOHO, so perhaps a bit over the top.

Wait, is does not seem to be web based… meh

Fixed with a workaround found on Reddit

https://www.reddit.com/r/Fedora/comments/12rh06n/comment/jh7sfhr/?utm_source=share&utm_medium=web3x

Installed Packages
docker-buildx-plugin.x86_64                                                           0.10.4-1.fc37                                                         @docker-ce-stable
docker-ce.x86_64                                                                      3:23.0.4-1.fc37                                                       @docker-ce-stable
docker-ce-cli.x86_64                                                                  1:23.0.4-1.fc37                                                       @docker-ce-stable
docker-ce-rootless-extras.x86_64                                                      23.0.4-1.fc37                                                         @docker-ce-stable
docker-compose-plugin.x86_64                                                          2.17.2-1.fc37                                                         @docker-ce-stable
1 Like

did you find Getting started with Docker on Fedora — Fedora Developer Portal?

Yes. Does not work. It is among my links in my second post.

I must admit though that https://podman-desktop.io looks interesting.

Podman Desktop is not required. The Podman runtime is already included in Fedora; on a fresh install you can run the podman command and see what it can do.

Then again this is for my SOHO, so perhaps a bit over the top.

It’s does everything Docker does and it’s not a service so you don’t have to worry about all your containers stopping if Docker breaks

Wait, is does not seem to be web based… meh

You can run Podman Desktop from another system and connect it to your server, or install Cockpit or Portainer for a web interface. Here’s another post I made about how to get started with Podman:

Have used Portainer before and kinda followed its development but I am no stranger to test Podman Desktop.

I’m not saying use Podman Desktop; I’m saying to skip Docker. The error you’re running into isn’t a Fedora issue; it’s because you’re trying to install a package from an unknown repo and DNF can’t find the dependencies. You need to add the repo to your system and then install it.

Already did that, as stated above, after finding a workaround, also as mentioned above.