[Bug]: compose.dockerCompose.Up errors out with "failed to connect to reaper: dial tcp [::1]:49485: connect: connection refused: Connecting to Ryuk on localhost:49485 failed", although containers are up & running #2563
Labels
bug
An issue with the library
Testcontainers version
0.31.0
Using the latest Testcontainers version?
Yes
Host OS
Debian GNU/Linux 11 (bullseye)
Host arch
x86-64
Go version
1.22.0
Docker version
Docker info
What happened?
Below is my reproduction code. The code simply uses the methods available in the
testcontainers-go/modules/compose
package to run adocker-compose.yml
file. The relevant output logs I have provided shows that thecmp.Up
call errors out with failed to connect to reaper: dial tcp [::1]:49533: connect: connection refused: Connecting to Ryuk on localhost:49533 failed. Although the logs also show that all the containers were up & healthy, indicating that the compose file was started correctly.The bug here is that
cmp.Up
API seems to be returning a non nil error unnecessarily, even though the compose file ran correctly. Expectation for correct result is anil
error fromcmp.Up
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: