github.com/containers/podman/v5@v5.1.0-rc1/test/compose/etc_hosts/README.md (about)

     1  etc hosts
     2  ===========
     3  
     4  This test mounts a /etc/hosts file in the host containing an entry `foobar`, then create a container with an alias of the same hostname.
     5  
     6  Validation
     7  ------------
     8  
     9  * No /etc/hosts entries are copied from the host. There should be only one entry of the hostname, which is IP address of the alias.
    10  * The hostname is resolved to IP address of the alias.