when a rootless container is run with a network hosts search domains are ignored #24713
Labels
kind/bug
Categorizes issue or PR as related to a bug.
network
Networking related issue or feature
stale-issue
Issue Description
It seems when a rootless container is created attached to a network, the hosts resolv.conf search domain is discarded. if a rootless container is spawned without a network, it has the expected functionality of inheriting the search domain from the host.
I originally created this issue in containers/netavark#1133, however @Luap99 indiciated it is both still an issue, and it is an issue in podman itself, not netavark.
on host:
on podman:
sorry for the obfuscated bits, it should be reproducible with any image.
when run via docker the search domains are maintained as expected, both with and without network.
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
resolv.conf search domains are missing.
Describe the results you expected
resolv.conf search domains are maintained.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
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: