Docker network problem after upgrade f42

  • Fedora 42
  • Docker 27.5.1
  • Disable Firewalld service

Since upgrading to Fedora 42, I’m having self-hosting docker access issues: when I run an app with docker-compose, the rest of my programs are inaccessible.

$ docker network ls
NETWORK ID     NAME               DRIVER    SCOPE
81e475fb1eab   bridge             bridge    local
8f909a722368   host               host      local
d429118ec875   jellyfin_default   bridge    local
6b608a25a5ca   metube_default     bridge    local
51de0662ee02   none               null      local
services:
  jellyfin:
    image: jellyfin/jellyfin
    container_name: jellyfin
	...
    volumes:
      ...
    restart: unless-stopped
    ports:
      - 8096:8096
services:
  metube:
    image: ghcr.io/alexta69/metube:latest
    container_name: metube
    ports:
      - 8081:8081

Hiya,

I had the same issue and read that someone “fixed” it by reinstalling fedora from scratch… Not ideal, but I found doing the following worked for me:

  • Stopping containers
  • Removing containers
  • Disable and uninstall docker-ce
  • Reboot
  • Install and enable docker-ce
  • Reboot
  • Recreate containers
  • Start containers

Probably not all of the steps are required, and I did not have to disable firewalld.

Might be External networking not working with user-defined networks (since Fedora 42 upgrade) · Issue #49842 · moby/moby · GitHub & 2360423 – iptables 1.8.11 -C returns 0 exit status for non existent rules, which should be fixed with the latest iptables update: FEDORA-2025-4c37f9fd93 — bugfix update for iptables — Fedora Updates System

latest changes iptables changes reverted because cause other problems, if i read it well:
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b630544731