Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/candrews/podman-testcontainers-issue
https://github.com/candrews/podman-testcontainers-issue
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/candrews/podman-testcontainers-issue
- Owner: candrews
- Created: 2021-05-07T17:30:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T14:23:45.000Z (about 1 year ago)
- Last Synced: 2024-10-26T08:40:30.380Z (about 2 months ago)
- Language: Java
- Size: 57.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
See https://github.com/containers/podman/issues/10261
Test of `Testcontainers.exposeHostPorts`: https://www.testcontainers.org/features/networking/#exposing-host-ports-to-the-container
The test is: [`src/test/java/CurlToHostTest.java`](src/test/java/CurlToHostTest.java)
To run against docker: `./test-docker.sh` The test should pass.
To run against podman: `./test-podman.sh` As of podman 3.2.0-rc1, the test fails. Looking at the stdout of the failing test, the reason for the failure is:
```
[main] ERROR 🐳 [curlimages/curl:7.76.0] - Log output from the failed container:
curl: (6) Could not resolve host: host.testcontainers.internal
```