corectl.app icon indicating copy to clipboard operation
corectl.app copied to clipboard

New docker clients refuse to talk to docker registry

Open sarahkevinking opened this issue 9 years ago • 3 comments

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

sarahkevinking avatar Sep 08 '16 04:09 sarahkevinking

need to look to that at some point

rimusz avatar Sep 08 '16 14:09 rimusz

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

lorin avatar Oct 10 '16 00:10 lorin

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.

rimusz avatar Oct 11 '16 09:10 rimusz