mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-05 16:35:45 +00:00
Now that we only test compose v2 remove the special cases from the test code to simply the tests. Signed-off-by: Paul Holzinger <pholzing@redhat.com> |
||
|---|---|---|
| .. | ||
| docker-compose.yml | ||
| hosts | ||
| README.md | ||
| setup.sh | ||
| teardown.sh | ||
| tests.sh | ||
etc hosts
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.
Validation
- 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.
- The hostname is resolved to IP address of the alias.