mirror of
https://github.com/containers/podman.git
synced 2025-05-20 00:27:03 +08:00

Fixes: https://github.com/containers/podman/issues/25002 Also add the ability to inspect containers for UseImageHosts and UseImageHostname. Finally fixed some bugs in handling of --no-hosts for Pods, which I descovered. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
10 lines
476 B
Markdown
10 lines
476 B
Markdown
####> This option file is used in:
|
|
####> podman build, create, farm build, kube play, pod create, run
|
|
####> If file is edited, make sure the changes
|
|
####> are applicable to all of those.
|
|
#### **--no-hostname**
|
|
|
|
Do not create the _/etc/hostname_ file in the containers.
|
|
|
|
By default, Podman manages the _/etc/hostname_ file, adding the container's own hostname. When the **--no-hostname** option is set, the image's _/etc/hostname_ will be preserved unmodified if it exists.
|