mirror of
https://github.com/containers/podman.git
synced 2025-05-20 16:47:39 +08:00

Followup to #20051, which I didn't review in time. Signed-off-by: Ed Santiago <santiago@redhat.com>
461 B
461 B
####> 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.