Open eddumelendez opened 10 months ago
Seems like you should be able to use netcat
by creating a new Docker image based on grafana/agent
with netcat
package installed. We want to keep our images lightweight and since Docker allows to easily extend them, it shouldn't prevent users from installing other programs when needed.
For the purpose of testing the containers, you may also want to consider checking for the open port from outside the container.
This issue has not had any activity in the past 30 days, so the needs-attention
label has been added to it.
If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue.
The needs-attention
label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity.
Thank you for your contributions!
Request
Testcontainers libraries check that the requested ports are open in the container executing the following piece of code. Currently, when trying to use the following definition
the error below is displayed and the container doesn't start
Use case
I'd like to use
grafana/agent
docker image with Testcontainers.