Docker installation on f42wks

I’m having trouble installing docker on my Fedora 42 wks system.

I’ve added the official Docker repository

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

but DNF can’t seem to find the packages

sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
No match for argument: docker-ce
No match for argument: docker-ce-cli
No match for argument: docker-buildx-plugin
No match for argument: docker-compose-plugin
You can try to add to command line:
  --skip-unavailable to skip unavailable packages

Has anyone else experienced this, how did you resolve installation?

I noticed the Docker repository for Fedora 42 seems to be empty. :frowning: Is there any chance I can point DNF to install from the F41 repo, or should i install from local files?

# Set up
sudo dnf config-manager setopt docker-ce-stable.baseurl=\
https://download.docker.com/linux/fedora/41/$(arch)/stable

# Unset
sudo dnf config-manager unsetopt docker-ce-stable.baseurl
1 Like

Tnx @vgaetera

1 Like

I have noticed in the past that some 3rd party Fedora repositories do not provide rpms for a given release, e.g. Fedora 42, until after the release is officially in production status.