Second Followup to Podman and PHPIPAM

Turns out that on my Fedora 30 VM something got screwed up with the CNI networking (the networking that Podman uses) and instead of pointing to the address that Podman is using according to Cockpit:

It’s pointing somewhere else. I found that via iptables -L. Not sure how to fix it, though. When I tried, it complained:

“`87-podman-bridge.conflist’ not found”

But changing the hostname environment variable turned out to be the solution as I tested on my Fedora 31 VM:

# podman pod create --name phpIPAM -p 8081:80
# podman run -dt --pod phpIPAM -e MYSQL_ENV_MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_ENV_MYSQL_HOST=phpIPAM pierrecdn/phpipam
# podman run -dt --pod phpIPAM -e MYSQL_ROOT_PASSWORD=my-secret-pw -v /root/phpipam:/var/lib/mysql mysql:5.6 

launched. So, finally figured it out. Although if things get messed up on the forwarding, I have no idea how to get back to a working state.