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

New docker clients refuse to talk to docker registry #35

Open
sarahkevinking opened this issue Sep 8, 2016 · 3 comments
Open

New docker clients refuse to talk to docker registry #35

sarahkevinking opened this issue Sep 8, 2016 · 3 comments

Comments

@sarahkevinking
Copy link

Receiving an error when pushing a local image to the coreapp repository.

The push refers to a repository [192.168.64.1:5000/foobar]
Get https://192.168.64.1:5000/v1/_ping: http: server gave HTTP response to HTTPS client

Using docker client

Docker version 1.12.1, build 23cf638, experimental

It would be nice if the registry would support TLS out of the box. I think it would be sufficient to generate our own TLS cert and key and support traffic over HTTPS

@rimusz
Copy link
Member

rimusz commented Sep 8, 2016

need to look to that at some point

@lorin
Copy link

lorin commented Oct 10, 2016

I've got the same problem, but a different error message:

The push refers to a repository [localhost:5000/ubuntu]
Put http://localhost:5000/v1/repositories/ubuntu/: dial tcp [::1]:5000: getsockopt: connection refused

The error message is misleading, the port is open:

$ nc -z localhost 5000
Connection to localhost port 5000 [tcp/commplex-main] succeeded!
$  curl localhost:5000/v2/
{}

Using docker client

Docker version 1.12.1, build 6f9534c

@rimusz
Copy link
Member

rimusz commented Oct 11, 2016

sorry guys, it is in my plans already, I'm not using docker 1.12.1 yet, so had no chance to look to it yet.

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

No branches or pull requests

3 participants