Skip to content

[Bug]: Could not start container when running in Jenkins #7959

Closed Answered by eddumelendez
idelice asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Delice0, the right wait strategy should be defined to set the ready state of the service. There are different such as Wait.forHttp, Wait.forHttps, Wait.forListeningPort, Wait.forLogMessage.

I wonder if the env vars your are setting for Testcontainers are causing the issue. TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE value points to a well known docker socket location that Testcontainers will look for, so can be omitted.

Also, check this blogpost.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by idelice
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #7903 on December 13, 2023 16:15.