-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to start kafka container with an error 'org.testcontainers.containers.ContainerLaunchException: Container startup failed' #1621
Comments
Here is the docker compose file that we are using
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this. |
This issue has been automatically closed due to inactivity. We apologise if this is still an active problem for you, and would ask you to re-open the issue if this is the case. |
@rajeshhereforyou did you find a solution? I am having the same with Github Actions build. |
Hi,
We are using 1.11.2 version of testcontainers to spin up a kafka broker, zookeeper and schema registry using docker compose yml and we are getting below error. We are getting this error intermittently and not showing the actual reason behind the failure. Can someone guide on this?
The docker compose yml is working fine, I've tested this without test containers.
"Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:277)
at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:212)
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:76)
... 39 more
Caused by: java.lang.IllegalStateException: Container did not start correctly.
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:255)"
The text was updated successfully, but these errors were encountered: