summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/no-hosts.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/markdown/options/no-hosts.md')
-rw-r--r--docs/source/markdown/options/no-hosts.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/source/markdown/options/no-hosts.md b/docs/source/markdown/options/no-hosts.md
new file mode 100644
index 000000000..5b1e95b86
--- /dev/null
+++ b/docs/source/markdown/options/no-hosts.md
@@ -0,0 +1,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.