-
-
Notifications
You must be signed in to change notification settings - Fork 238
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
Getting dial tcp [::1]:32768: connect: connection refused from gitlab ci #191
Comments
Which version of dockertest are you using? Are you sure |
|
That sounds like a misconfiguration then, CircleCI and TravisCI work fine. I don't think I can help you here. |
@aeneasr I'm getting this same error but looks to be raised when trying to connect to the container. I'm trying a simple setup with docker and postgres:
The code:
What is missing for this to work? |
I don't use GitLab so I don't know, sorry! |
@aeneasr what I mentioned was not related to GitLab 😛 it is just a docker image I'm running locally. |
This issue is about GitLab, if you have another problem please use a separate issue, thank you! |
It took some time to figure it out) |
Example
|
Could you maybe add this to the readme so others can find this information quickly? :) |
@aeneasr In order to make it work in gitlab ci the retry database host in the examples should be |
Locally it's all working, but when I run it in gitlab ci I get this error
dial tcp [::1]:32768: connect: connection refused
In CI I configured
DOCKER_HOST
variable pointing totcp://docker:2375
dockertest.NewPool("")
should connect to docker daemon.The text was updated successfully, but these errors were encountered: