Docker Secure Private Registry SSL Issue

Hi all,

I’m working on implementing a Docker Secure Private Registry and I’m having an issue getting push / pull requests to work successfully.

I’ve followed this guide but without success.

I’m using boot2docker to try to connect to my registry - so I’m thinking maybe boot2docker requires my certs to be in a different folder? Any ideas?

Thanks!

Hi,

Whats the error you are getting? Configuring your registry as insecure-registry in boot2docker may fix your issue.

Regards

Hi Ranjandas,

I need it to be a secure registry, so that won’t work - I had managed to get the insecure registry working prior to this.

Below are the errors from Client / Server side:

ERROR LOGS FROM CLIENT SERVER ATTEMPTING TO PUSH TO INSECURE REGISTRY

The push refers to a repository [registry.domain.com:5000/hello-world] (len: 1)
Sending image list
Error: Status 503 trying to push repository hello-world: "{\"errors\":[{\"code\":\"UNAVAILABLE\",\"message\":\"service unavailable\",\"detail\":\"health check failed: please see /debug/health\"}]}\n"

ERROR LOGS FROM REGISTRY SIDE:

[25/Sep/2015:15:53:33 +0000] "GET /v2/ HTTP/1.1" 503 125 "" "docker/1.7.1 go/go1.4.2 kernel/3.14.48-33.39.amzn1.x86_64 os/linux arch/amd64"
[25/Sep/2015:15:53:33 +0000] "GET /v1/_ping HTTP/1.1" 503 125 "" "docker/1.7.1 go/go1.4.2 kernel/3.14.48-33.39.amzn1.[x86_64 os/linux arch/amd64"
[25/Sep/2015:15:53:33 +0000] "PUT /v1/repositories/hello-world/ HTTP/1.1" 503 125 "" "docker/1.7.1 go/go1.4.2 kernel/3.14.48-33.39.amzn1.x86_64 os/linux arch/amd64"