github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/no-hostname.md (about) 1 ####> This option file is used in: 2 ####> podman build, farm build 3 ####> If file is edited, make sure the changes 4 ####> are applicable to all of those. 5 #### **--no-hostname** 6 7 Do not create the _/etc/hostname_ file in the container for RUN instructions. 8 9 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.