mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-07 17:36:22 +00:00
Followup to #20051, which I didn't review in time. Signed-off-by: Ed Santiago <santiago@redhat.com>
9 lines
461 B
Markdown
9 lines
461 B
Markdown
####> This option file is used in:
|
|
####> podman build, farm build
|
|
####> 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 container for RUN instructions.
|
|
|
|
By default, Buildah 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.
|