I have a problem with my own registry.
I’ve create a docker service in my local net importing the certificate files following this steps Registry | Docker Docs
If I access to my registry via web browser to https://myregistry.com/v2/_catalog the page is secure, and I can see that my certificate is valid.
But if I try to pull or push an image in others docker, I get the error:
Failed to pull image “myregistry.com/image:tag”: rpc error: code = Unknown desc = Error response from daemon: Get https://myregistry.com/image:tag/v2/: x509: certificate signed by unknown authority
It works If I set insecure-registries in /etc/docker/daemon.json, but I think there is no neccesary because I have a valid certificate. Am I rigth?