containers / podman-compose

a script to run docker-compose.yml using podman
GNU General Public License v2.0
4.86k stars 465 forks source link

DNS not working anymore on Fedora 40/Podman 5.0 #904

Closed francoism90 closed 2 months ago

francoism90 commented 3 months ago

Describe the bug DNS is not working at all anymore after upgrading to the latest Fedora 40 beta release.

To Reproduce Steps to reproduce the behavior:

  1. Create network bridge
  2. Set this network in docker-compose.yml
  3. podman compose up -d

Expected behavior It does attach some DNS, but it doesn't work at all. It just doesn't seem to route anything.

Actual behavior DNS working

Output

$ podman-compose version
using podman version: 5.0.0
podman-compose version  1.0.6

$ podman-compose up
...

Environment:

Additional context

It's weird, because it was working fine a few days ago. I did remove the netwerk, enabled IPv6, hotspot, .. it just doesn't connect to anything.

benyaminl commented 2 months ago

Have you check the network backend using aadvark? and the network generated is supporting dns using podman network inspect?

francoism90 commented 2 months ago

@benyaminl This is actually a Podman bug with the new network plugin pasta.

It will hopefully be solved with Podman 5.0.1.

Thanks for looking into this, I'll close this issue. :)