mirror of
https://github.com/containers/podman.git
synced 2025-11-29 01:28:22 +08:00
Update the docs to properly cross-reference the `--add-host` option. Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
11 lines
369 B
Markdown
11 lines
369 B
Markdown
####> This option file is used in:
|
|
####> podman pod clone, pod create
|
|
####> If file is edited, make sure the changes
|
|
####> are applicable to all of those.
|
|
#### **--hostname**=*name*
|
|
|
|
Set the pod's hostname inside all containers.
|
|
|
|
The given hostname is also added to the `/etc/hosts` file using the container's
|
|
primary IP address (also see the **--add-host** option).
|