summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/no-hosts.md
blob: 5b1e95b86af61e278e5d37f6b580aa4ace9c2a1f (plain)
1
2
3
4
5
#### **--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.