github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/hostname.container.md (about)

     1  ####> This option file is used in:
     2  ####>   podman create, run
     3  ####> If file is edited, make sure the changes
     4  ####> are applicable to all of those.
     5  #### **--hostname**, **-h**=*name*
     6  
     7  Container host name
     8  
     9  Sets the container host name that is available inside the container. Can only be used with a private UTS namespace `--uts=private` (default). If `--pod` is specified and the pod shares the UTS namespace (default) the pod's hostname is used.