github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/no-hosts.md (about)

     1  ####> This option file is used in:
     2  ####>   podman build, create, farm build, kube play, pod create, run
     3  ####> If file is edited, make sure the changes
     4  ####> are applicable to all of those.
     5  #### **--no-hosts**
     6  
     7  Do not create _/etc/hosts_ for the <<container|pod>>.
     8  By default, Podman manages _/etc/hosts_, adding the container's own IP address and any hosts from **--add-host**.
     9  **--no-hosts** disables this, and the image's _/etc/hosts_ is preserved unmodified.