podman/docs/source/markdown/options/no-hosts.md

282 B

--no-hosts

Do not create /etc/hosts for the <<container|pod>>. By default, Podman will manage /etc/hosts, adding the container's own IP address and any hosts from --add-host. --no-hosts disables this, and the image's /etc/hosts will be preserved unmodified.