Please provide a Docker repo for Fedora 42
[] This is a bug report [x]This is a feature request [x] I searched existing issues before opening this one
The Docker-CE Fedora repository is the recommended way to install it. It has many benefits over installing from a package or any other method.
Fedora also releases a new version every six months. The Fedora repository also takes a very long time to become ready after the release of a new version, with many issues being opened after each recent Fedora is released.
Fedora has officially branched Version 42 might have a beta release on — 2025-03-18 and the Final Version Will be ready 2025-04-22 — Final release target date 1
I'm filing this issue to hopefully put this task on the radar so that there might be a repository set up in time for the Fedora 42 release cycle...
NOTE
Some of us migrate when the beta version when is ready so we have to disable the repository and wait for it to be ready
Release Schedule: https://fedorapeople.org/groups/schedule/f-42/f-42-key-tasks.html
Regards.,
Fedora 42 is getting an early release (April 15) and it's already available for DNF installs.
+1. Fedora 42 is out. Can't install docker on fedora 42.
I just discovered that there's a test repository: https://download.docker.com/linux/fedora/42/x86_64/test/Packages/
I just discovered that there's a test repository: download.docker.com/linux/fedora/42/x86_64/test/Packages
Yep, this actually makes re-installing it pretty easy:
If you have followed the official instructions to install it in the past, you should already have /etc/yum.repos.d/docker-ce.repo file, with docker-ce-test repo disabled in it.
So the cleanest way is to add --enablerepo=docker-ce-test to the dnf install command - simply run:
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin --enablerepo=docker-ce-test
and then
sudo systemctl enable --now docker
Your previous docker containers will be preserved.
package for Fedora 42 is already available, see https://download.docker.com/linux/fedora/42/x86_64/stable/Packages/ I think ticket can be closed 💯
WIth the released 28.0.1 version I still experience containers not having internet connection as mentioned here.
I have to change firewalld config FirewallBackend=nftables into FirewallBackend=iptables to workaround this.
Is this as expected, a bug, or per haps due to some misconfiguration?
@dennisverspuij I think me and you are having the same issue, I made a issue here about this #1534
WIth the released 28.0.1 version I still experience containers not having internet connection as mentioned here. I have to change firewalld config
FirewallBackend=nftablesintoFirewallBackend=iptablesto workaround this. Is this as expected, a bug, or per haps due to some misconfiguration?
definitely, upgraded, pruned everything, nothing worked but your solution
28.1.1-1.fc42 just released, but doesn't fix it. I just found out the problem may be due to a bug introduced in iptables-nft-1.8.11-4.fc42, which is misleading Docker while its pushing its rules. I assume we have to await updated iptables package instead.
@dennisverspuij same problem, i have iptables v1.8.11. Did u solved this in any other way?
@dennisverspuij same problem, i have iptables v1.8.11. Did u solved this in any other way?
I really don't recommend you do this, but it should work, in a pinch:
sudo systemctl stop firewalld
sudo iptables -F
sudo nft flush ruleset
sudo systemctl restart docker
We should wait for the updated iptables-nft package upstream
The only solution that worked reliably for me was to self compile the iptables-nft package including the upstream patch. Without this, my containers attached to external networks would always break after some time
A new update for iptables is now in testing for fedora 42 and it will solve the problem.
A new update for iptables is now in testing for fedora 42 and it will solve the problem.
Fix confirmed, thanks very much! Hopefully without Easter eggs 😄
I think its a little late, but this work for me.
After run this
sudo dnf -y install dnf-plugins-core sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
I run:
nano /etc/yum.repos.d/docker-ce.repo
And then I modified the file to change the $releasever for 42
Example:
`
[docker-ce-test]
name=Docker CE Test - $basearch
baseurl=https://download.docker.com/linux/fedora/42/$basearch/test
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/fedora/gpg
[docker-ce-test-debuginfo] name=Docker CE Test - Debuginfo $basearch baseurl=https://download.docker.com/linux/fedora/42/debug-$basearch/test enabled=0 gpgcheck=1 gpgkey=https://download.docker.com/linux/fedora/gpg `
It seems the update of iptables-nft 1.8.11-6 breaks Docker again. Docker can't find iptables...
It seems the update of iptables-nft 1.8.11-4 breaks Docker again. Docker can't find iptables...
This is the old version. 1.8.11-5 has fixed this problem and has been in stable for about a week or so
I'm having the same problem, but non of the solutions above seem to work for me.
I reinstalled docker from scratch without any custom config.
docker-buildx-plugin.x86_64 0.23.0-1.fc42 docker-ce-stable
docker-ce.x86_64 3:28.1.1-1.fc42 docker-ce-stable
docker-ce-cli.x86_64 1:28.1.1-1.fc42 docker-ce-stable
docker-ce-rootless-extras.x86_64 28.1.1-1.fc42 docker-ce-stable
docker-compose-plugin.x86_64 2.35.1-1.fc42 docker-ce-stable
iptables-libs.x86_64 1.8.11-6.fc42 <unknown>
iptables-nft.x86_64 1.8.11-6.fc42 <unknown>
But still get the following error when trying to start the docker service:
failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to register "bridge" driver: failed to create NAT chain DOCKER: COMMAND_FAILED: INVALID_IPV: 'ipv4' is not a valid backend or is unavailable
docker.service: Main process exited, code=exited, status=1/FAILURE
Can anyone give me a hint what could be wrong here?
I can confirm, that newer version 1.8.11-6 breaks docker again. Looks like it's already reported in bugzilla.
It seems the update of iptables-nft 1.8.11-4 breaks Docker again. Docker can't find iptables...
This is the old version. 1.8.11-5 has fixed this problem and has been in stable for about a week or so
Sorry, it was a typo. I meant 1.8.11-6...