Hello,
We are trying to set-up binderhub with our own docker registry in a local network as stated here.
We first tried with a http registry, the problem is that docker forces us to use https connection so it is not reliable.
So we tried to use https with a self-signed certificate, the issue is that binderhub just allows pulling from registry with a CA certificate.
There are two solutions :
- Change this line to allow
for untrusted certificate with validate_cert=False => Fast and easy but maybe more insecure
- Adding the self-signed certificate to
/etc/docker/certs.d like here but should be inside the building pod, with proper mounting options => lot more "complicated" but secure
Do you have some ideas about this ?
ps: Using a public registry is not ideal for us since we sould need to buy a floating ip, a domain name, and it is far less optimal in term of pushing/pulling time (pull binderhub -> registry on local network VS pull binderhub -> DNS -> registry on public network)
Thanks,
Hello,
We are trying to set-up binderhub with our own docker registry in a local network as stated here.
We first tried with a http registry, the problem is that docker forces us to use https connection so it is not reliable.
So we tried to use https with a self-signed certificate, the issue is that binderhub just allows pulling from registry with a CA certificate.
There are two solutions :
for untrusted certificate with
validate_cert=False=> Fast and easy but maybe more insecure/etc/docker/certs.dlike here but should be inside the building pod, with proper mounting options => lot more "complicated" but secureDo you have some ideas about this ?
ps: Using a public registry is not ideal for us since we sould need to buy a floating ip, a domain name, and it is far less optimal in term of pushing/pulling time (pull binderhub -> registry on local network VS pull binderhub -> DNS -> registry on public network)
Thanks,