Skip to content
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

Cannot connect to self-hosted docker registry (.local) #36

Open
johnkors opened this issue Aug 9, 2018 · 2 comments
Open

Cannot connect to self-hosted docker registry (.local) #36

johnkors opened this issue Aug 9, 2018 · 2 comments

Comments

@johnkors
Copy link

johnkors commented Aug 9, 2018

I'm having the same issue reported here – in that I cannot get the tc-agent to talk to a self-hosted docker registry found at myserver.local (i.e. a .local) address. It can fetch images from dockerhub, but not our internal registry.

According to this comment, there already should be a fix — but I'm not seeing it.

Is it only me?

Using jetbrains/teamcity-agent:latest on Ubuntu.

@shanesiebken
Copy link

I think that I am seeing this issue too. At least, that's the best that I can figure at this point. I'm using Docker-in-Docker (may god strike me dead) in a kubernetes cluster with an in-cluster registry, which is reached at the typical [...].svc.cluster.local, and docker fails to operate against it with a no such host error, even though an nslookup on the dind container shows the correct target IP.

@kir
Copy link
Member

kir commented Feb 18, 2019

Hi, could you please make sure the problem is related to teamcity-agent image. For that, please start the teamcity-agent container, attach to it, and try connecting to the host machine. And compare with non-teamcity agent container - is there any difference?

If there is, please file a detailed bug report to https://youtrack.jetbrains.com/newIssue?project=TW&c=Assignee%20maxkir&c=Subsystem%20Docker

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants