I am trying to get a docker swarm network going and to distribute Images accross the different hosts in my swarm (currently only boot2docker machines) I have setup a secured private registry in a docker container. To make working with the different hosts easier I have also setup a bind9 container as my DNS server.
My registry is hosted on the machine 192.168.178.36 and has the dns entry 001.registry.swarm. I have installed the required certificates for my registry to work on all the hosts and the registry is working fine when I access it from another linux machine. I can login and push and pull images. But when I try to do so from my windows PC i get the following message:
“Error response from daemon: Get https://001.registry.swarm/v2/: dial tcp: lookup 001.registry.swarm on 192.168.65.1:53: no such host”
after 15 minutes or so I get this message:
“Error response from daemon: Get https://001.registry.swarm/v2/: x509: certificate signed by unknown authority”
Reinstalling the certificate on my windows pc brings me back to the first error message.
Do you have any idea on how I can fix this? Docker for windows is driving me crazy.
P.S. Do you have any tips for working with a bind9 container together with windows? My windows PC takes hours to recognize the dns server.