github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/add-host.md (about) 1 ####> This option file is used in: 2 ####> podman build, create, farm build, pod create, run 3 ####> If file is edited, make sure the changes 4 ####> are applicable to all of those. 5 #### **--add-host**=*host:ip* 6 7 Add a custom host-to-IP mapping (host:ip) 8 9 Add a line to /etc/hosts. The format is hostname:ip. The **--add-host** 10 option can be set multiple times. Conflicts with the **--no-hosts** option.