hostnames are not propagated to other containers in the same network #19025
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
network
Networking related issue or feature
Issue Description
Here is a difference with hosts handling between docker and podman
in docker if you start a container with a given hostname on a custom network, this hostname is reachable from other containers on the same network
in podman it's not the case
Steps to reproduce the issue
Steps to reproduce the issue
steps on docker:
it works and it's replying from
redis-container.my-network
Now, using podman:
steps on podman:
it doesn't work, name is not found
of course it works using the container name but it's not what was expected
Describe the results you received
From the fedora container
Describe the results you expected
expect to have the ping to the hostname of the other container working
podman info output
4.5.1
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: